diff options
Diffstat (limited to 'test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T1.js')
-rw-r--r-- | test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T1.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T1.js b/test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T1.js index 5cd5570ea..8c31caede 100644 --- a/test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T1.js +++ b/test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T1.js @@ -13,8 +13,8 @@ __instance.charCodeAt = String.prototype.charCodeAt; ////////////////////////////////////////////////////////////////////////////// //CHECK#1 -if ((__instance.charCodeAt(false) !== 52)||(__instance.charCodeAt(true) !== 50)) { - $ERROR('#1: __instance = new Object(42); __instance.charCodeAt = String.prototype.charCodeAt; __instance.charCodeAt(false) === 52 and __instance.charCodeAt(true) === 50. Actual: __instance.charCodeAt(false) ==='+__instance.charCodeAt(false)+' and __instance.charCodeAt(true) ==='+__instance.charCodeAt(true) ); +if ((__instance.charCodeAt(false) !== 52) || (__instance.charCodeAt(true) !== 50)) { + $ERROR('#1: __instance = new Object(42); __instance.charCodeAt = String.prototype.charCodeAt; __instance.charCodeAt(false) === 52 and __instance.charCodeAt(true) === 50. Actual: __instance.charCodeAt(false) ===' + __instance.charCodeAt(false) + ' and __instance.charCodeAt(true) ===' + __instance.charCodeAt(true)); } // ////////////////////////////////////////////////////////////////////////////// |