diff options
author | Brent Baker <brbaker@adobe.com> | 2013-06-07 06:57:45 -0400 |
---|---|---|
committer | Brent Baker <brbaker@adobe.com> | 2013-06-07 06:57:45 -0400 |
commit | a0ff8451d99e8034998418c123e19e977c976a50 (patch) | |
tree | e4356cf67bda4b4140eb031f2420c15e0cd130f9 | |
parent | 728cd968089840cb61b916ba2bcb1e25ceeae1cd (diff) | |
download | test262-a0ff8451d99e8034998418c123e19e977c976a50.tar.gz |
Bug 1189: use "===" instead of "=" for S13.2_A4_T1 and T2
-rw-r--r-- | test/suite/ch13/13.2/S13.2_A4_T1.js | 2 | ||||
-rw-r--r-- | test/suite/ch13/13.2/S13.2_A4_T2.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/suite/ch13/13.2/S13.2_A4_T1.js b/test/suite/ch13/13.2/S13.2_A4_T1.js index 9656e4d1a..ef47b61a0 100644 --- a/test/suite/ch13/13.2/S13.2_A4_T1.js +++ b/test/suite/ch13/13.2/S13.2_A4_T1.js @@ -33,7 +33,7 @@ if (__func.prototype.constructor !== __func) { var __constructor_was__enumed; for (__prop in __func.prototype){ - if (__prop = 'constructor') + if (__prop === 'constructor') __constructor_was__enumed = true; } diff --git a/test/suite/ch13/13.2/S13.2_A4_T2.js b/test/suite/ch13/13.2/S13.2_A4_T2.js index 1cb3f4ea8..2da55b763 100644 --- a/test/suite/ch13/13.2/S13.2_A4_T2.js +++ b/test/suite/ch13/13.2/S13.2_A4_T2.js @@ -33,7 +33,7 @@ if (__gunc.prototype.constructor !== __gunc) { var __constructor_was__enumed; for (__prop in __gunc.prototype){ - if (__prop = 'constructor') + if (__prop === 'constructor') __constructor_was__enumed = true; } |