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