summaryrefslogtreecommitdiff
path: root/test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T9.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T9.js')
-rw-r--r--test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T9.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T9.js b/test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T9.js
index 9a336549c..e1f00f767 100644
--- a/test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T9.js
+++ b/test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A1_T9.js
@@ -12,8 +12,8 @@ description: >
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
//since ToInteger(undefined) evaluates to 0 charCodeAt() evaluates to charCodeAt(0)
-if (new String(42).charCodeAt(function(){}()) !== 0x34) {
- $ERROR('#1: new String(42).charCodeAt(function(){}()) === 0x34. Actual: new String(42).charCodeAt(function(){}()) ==='+new String(42).charCodeAt(function(){}()) );
+if (new String(42).charCodeAt(function() {}()) !== 0x34) {
+ $ERROR('#1: new String(42).charCodeAt(function(){}()) === 0x34. Actual: new String(42).charCodeAt(function(){}()) ===' + new String(42).charCodeAt(function() {}()));
}
//
//////////////////////////////////////////////////////////////////////////////