diff options
Diffstat (limited to 'test/built-ins/String/prototype/replace/S15.5.4.11_A2_T10.js')
-rw-r--r-- | test/built-ins/String/prototype/replace/S15.5.4.11_A2_T10.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/built-ins/String/prototype/replace/S15.5.4.11_A2_T10.js b/test/built-ins/String/prototype/replace/S15.5.4.11_A2_T10.js index 0a8d22f4c..aabe0d9ae 100644 --- a/test/built-ins/String/prototype/replace/S15.5.4.11_A2_T10.js +++ b/test/built-ins/String/prototype/replace/S15.5.4.11_A2_T10.js @@ -14,8 +14,8 @@ var __re = /sh/; ////////////////////////////////////////////////////////////////////////////// //CHECK#1 -if (__str.replace(__re, "$'" + 'sch') !== 'She sells seaells by the seashore.schells by the seashore.') { - $ERROR('#1: var __str = \'She sells seashells by the seashore.\'; var __re = /sh/; __str.replace(__re, "$\'" + \'sch\')===\'She sells seaells by the seashore.schells by the seashore.\'. Actual: ' + __str.replace(__re, "$'" + 'sch')); +if (__str.replace(__re, "$'" + 'sch')!=='She sells seaells by the seashore.schells by the seashore.') { + $ERROR('#1: var __str = \'She sells seashells by the seashore.\'; var __re = /sh/; __str.replace(__re, "$\'" + \'sch\')===\'She sells seaells by the seashore.schells by the seashore.\'. Actual: '+__str.replace(__re, "$'" + 'sch')); } // ////////////////////////////////////////////////////////////////////////////// |