diff options
Diffstat (limited to 'test/built-ins/Array/S15.4_A1.1_T8.js')
-rw-r--r-- | test/built-ins/Array/S15.4_A1.1_T8.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/built-ins/Array/S15.4_A1.1_T8.js b/test/built-ins/Array/S15.4_A1.1_T8.js index 3036b8acc..349c592ee 100644 --- a/test/built-ins/Array/S15.4_A1.1_T8.js +++ b/test/built-ins/Array/S15.4_A1.1_T8.js @@ -13,19 +13,19 @@ description: Checking for Number object var x = []; x[new String("0")] = 0; if (x[0] !== 0) { - $ERROR('#1: x = []; x[new String("0")] = 0; x[0] === 0. Actual: ' + (x[0])); -} + $ERROR('#1: x = []; x[new String("0")] = 0; x[0] === 0. Actual: ' + (x[0])); +} //CHECK#2 var y = []; y[new String("1")] = 1; if (y[1] !== 1) { - $ERROR('#2: y = []; y[new String("1")] = 1; y[1] === 1. Actual: ' + (y[1])); + $ERROR('#2: y = []; y[new String("1")] = 1; y[1] === 1. Actual: ' + (y[1])); } //CHECK#3 var z = []; z[new String("1.1")] = 1; if (z["1.1"] !== 1) { - $ERROR('#3: z = []; z[new String("1.1")] = 1; z["1.1"] === 1. Actual: ' + (z["1.1"])); + $ERROR('#3: z = []; z[new String("1.1")] = 1; z["1.1"] === 1. Actual: ' + (z["1.1"])); } |