aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch15/15.5/15.5.4/15.5.4.14/S15.5.4.14_A1_T6.js
diff options
context:
space:
mode:
authorDavid Fugate <dfugate@microsoft.com>2012-01-16 11:17:05 -0800
committerDavid Fugate <dfugate@microsoft.com>2012-01-16 11:17:05 -0800
commita180d5f37193a8630f4edcb20e019c96405666c3 (patch)
tree44c04818aeb4d6974d2011f2e6ff85b5b22b67cd /test/suite/ch15/15.5/15.5.4/15.5.4.14/S15.5.4.14_A1_T6.js
parent9e00383b5fedc7417ac22b488e82c2d516951867 (diff)
https://bugs.ecmascript.org/show_bug.cgi?id=61 is fixed.
Diffstat (limited to 'test/suite/ch15/15.5/15.5.4/15.5.4.14/S15.5.4.14_A1_T6.js')
-rw-r--r--test/suite/ch15/15.5/15.5.4/15.5.4.14/S15.5.4.14_A1_T6.js16
1 files changed, 4 insertions, 12 deletions
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.14/S15.5.4.14_A1_T6.js b/test/suite/ch15/15.5/15.5.4/15.5.4.14/S15.5.4.14_A1_T6.js
index 6fc4e3736..7d3fcceb0 100644
--- a/test/suite/ch15/15.5/15.5.4/15.5.4.14/S15.5.4.14_A1_T6.js
+++ b/test/suite/ch15/15.5/15.5.4/15.5.4.14/S15.5.4.14_A1_T6.js
@@ -33,24 +33,16 @@ if (__split.constructor !== Array) {
//////////////////////////////////////////////////////////////////////////////
//CHECK#3
-if (__split.length !== 2) {
- $ERROR('#3: var x; __split = new String("1undefined").split(x); __split.length === 2. Actual: '+__split.length );
+if (__split.length !== 1) {
+ $ERROR('#3: var x; __split = new String("1undefined").split(x); __split.length === 1. Actual: '+__split.length );
}
//
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
//CHECK#4
-if (__split[0] !== "1") {
- $ERROR('#4: var x; __split = new String("1undefined").split(x); __split[0] === "1". Actual: '+__split[0] );
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#5
-if (__split[1] !== "") {
- $ERROR('#5: var x; __split = new String("1undefined").split(x); __split[1] === "". Actual: '+__split[1] );
+if (__split[0] !== "1undefined") {
+ $ERROR('#4: var x; __split = new String("1undefined").split(x); __split[0] === "1undefined". Actual: '+__split[0] );
}
//
//////////////////////////////////////////////////////////////////////////////