diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2018-02-15 15:39:13 -0500 |
---|---|---|
committer | Leo Balter <leonardo.balter@gmail.com> | 2018-02-15 15:39:13 -0500 |
commit | 19ca734beaea75fc61e296f78450354ff0dff7e9 (patch) | |
tree | 151310b950d46e9843df6f98d21fcc89f8ceca9b /test/built-ins/String/prototype/replace/S15.5.4.11_A2_T7.js | |
parent | af37c92af7691eaf4769eb1f5f44f92a4a883426 (diff) | |
download | qtdeclarative-testsuites-19ca734beaea75fc61e296f78450354ff0dff7e9.tar.gz |
built-ins/String/*: make all indentation consistent (depth & character) (#1430)
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.js | 4 |
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')); } // ////////////////////////////////////////////////////////////////////////////// |