diff options
author | David Fugate <dfugate@microsoft.com> | 2012-01-13 14:54:45 -0800 |
---|---|---|
committer | David Fugate <dfugate@microsoft.com> | 2012-01-13 14:54:45 -0800 |
commit | 9dbc4e9821480c61c9e8e3d957673fc515afe0f7 (patch) | |
tree | 62bd352ba2f92f7eb46a6a36d8c1c2b4e1b50596 /test/suite/ch08/8.3 | |
parent | 7e7ebe85f23265ab38ca92135e563c55e2794df6 (diff) |
Test harness changes last Fall enabled execution of this===theGlobalObject Sputnik tests again.
Also, two of this weren't actually this-related. Fixed their separate issues.
Diffstat (limited to 'test/suite/ch08/8.3')
-rw-r--r-- | test/suite/ch08/8.3/S8.3_A1_T1.js | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/test/suite/ch08/8.3/S8.3_A1_T1.js b/test/suite/ch08/8.3/S8.3_A1_T1.js index 30d10a2eb..3c4868526 100644 --- a/test/suite/ch08/8.3/S8.3_A1_T1.js +++ b/test/suite/ch08/8.3/S8.3_A1_T1.js @@ -8,14 +8,23 @@ * @description Assign true and false to variables */ -if (x == undefined) { - $ERROR("x == undefined, but actual is "+ x); +if (x !== undefined) { + $ERROR("#0 x !== undefined, but actual is "+ x); } //////////////////////////////////////////////////////////////////////// // CHECK#1 var x = true; var y = false; + +if (x !== true) { + $ERROR("#1.1 x !== true, but actual is "+ x); +} + +if (y !== false) { + $ERROR("#1.1 y !== false, but actual is "+ y); +} + // //////////////////////////////////////////////////////////////////////// |