From a0ff8451d99e8034998418c123e19e977c976a50 Mon Sep 17 00:00:00 2001 From: Brent Baker Date: Fri, 7 Jun 2013 06:57:45 -0400 Subject: Bug 1189: use "===" instead of "=" for S13.2_A4_T1 and T2 --- test/suite/ch13/13.2/S13.2_A4_T1.js | 2 +- 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; } -- cgit v1.2.1