summaryrefslogtreecommitdiff
path: root/test/built-ins/String/prototype/replace/S15.5.4.11_A2_T7.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/String/prototype/replace/S15.5.4.11_A2_T7.js')
-rw-r--r--test/built-ins/String/prototype/replace/S15.5.4.11_A2_T7.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/built-ins/String/prototype/replace/S15.5.4.11_A2_T7.js b/test/built-ins/String/prototype/replace/S15.5.4.11_A2_T7.js
index 327071a44..3c475e5f1 100644
--- a/test/built-ins/String/prototype/replace/S15.5.4.11_A2_T7.js
+++ b/test/built-ins/String/prototype/replace/S15.5.4.11_A2_T7.js
@@ -14,8 +14,8 @@ var __re = /sh/;
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
-if (__str.replace(__re, "$$" + 'sch')!=='She sells sea$schells by the seashore.') {
- $ERROR('#1: var __str = \'She sells seashells by the seashore.\'; var __re = /sh/; __str.replace(__re, "$$" + \'sch\')===\'She sells sea$schells by the seashore.\'. Actual: '+__str.replace(__re, "$$" + 'sch'));
+if (__str.replace(__re, "$$" + 'sch') !== 'She sells sea$schells by the seashore.') {
+ $ERROR('#1: var __str = \'She sells seashells by the seashore.\'; var __re = /sh/; __str.replace(__re, "$$" + \'sch\')===\'She sells sea$schells by the seashore.\'. Actual: ' + __str.replace(__re, "$$" + 'sch'));
}
//
//////////////////////////////////////////////////////////////////////////////