diff options
Diffstat (limited to 'test/built-ins/String/prototype/substring/S15.5.4.15_A1_T9.js')
-rw-r--r-- | test/built-ins/String/prototype/substring/S15.5.4.15_A1_T9.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/built-ins/String/prototype/substring/S15.5.4.15_A1_T9.js b/test/built-ins/String/prototype/substring/S15.5.4.15_A1_T9.js index b4b0053b9..1720c35f4 100644 --- a/test/built-ins/String/prototype/substring/S15.5.4.15_A1_T9.js +++ b/test/built-ins/String/prototype/substring/S15.5.4.15_A1_T9.js @@ -11,14 +11,14 @@ description: > ---*/ var __obj = { - valueOf:function(){}, - toString:void 0 + valueOf: function() {}, + toString: void 0 }; ////////////////////////////////////////////////////////////////////////////// //CHECK#1 -if (new String(__obj).substring(/*(function(){})()*/undefined,undefined) !== "undefined") { - $ERROR('#1: __obj = {valueOf:function(){}, toString:void 0}; new String(__obj).substring(/*(function(){})()*/undefined,undefined) === "undefined". Actual: '+new String(__obj).substring(/*(function(){})()*/undefined,undefined) ); +if (new String(__obj).substring( /*(function(){})()*/ undefined, undefined) !== "undefined") { + $ERROR('#1: __obj = {valueOf:function(){}, toString:void 0}; new String(__obj).substring(/*(function(){})()*/undefined,undefined) === "undefined". Actual: ' + new String(__obj).substring( /*(function(){})()*/ undefined, undefined)); } // ////////////////////////////////////////////////////////////////////////////// |