diff options
Diffstat (limited to 'test/built-ins/String/prototype/search/S15.5.4.12_A3_T2.js')
-rw-r--r-- | test/built-ins/String/prototype/search/S15.5.4.12_A3_T2.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/built-ins/String/prototype/search/S15.5.4.12_A3_T2.js b/test/built-ins/String/prototype/search/S15.5.4.12_A3_T2.js index af4e03407..099e69e6f 100644 --- a/test/built-ins/String/prototype/search/S15.5.4.12_A3_T2.js +++ b/test/built-ins/String/prototype/search/S15.5.4.12_A3_T2.js @@ -13,8 +13,8 @@ var aString = new String("power \u006F\u0066 the power of the power \u006F\u0066 ////////////////////////////////////////////////////////////////////////////// //CHECK#1 -if (aString.search(/of/) !== aString.search(/of/g)) { - $ERROR('#1: var aString = new String("power \\u006F\\u0066 the power of the power \\u006F\\u0066 the power of the power \\u006F\\u0066 the power of the great sword"); aString.search(/of/)=== aString.search(/of/g). Actual: ' + aString.search(/of/)); +if (aString.search(/of/)!== aString.search(/of/g)) { + $ERROR('#1: var aString = new String("power \\u006F\\u0066 the power of the power \\u006F\\u0066 the power of the power \\u006F\\u0066 the power of the great sword"); aString.search(/of/)=== aString.search(/of/g). Actual: '+aString.search(/of/)); } // ////////////////////////////////////////////////////////////////////////////// |