From 0d01ab1c7f9760c34c97a3cdcd5f6fa1df75ef9a Mon Sep 17 00:00:00 2001 From: Brent Baker <brbaker@adobe.com> Date: Fri, 7 Jun 2013 06:57:45 -0400 Subject: [PATCH] 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 9656e4d1ae..ef47b61a0a 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 1cb3f4ea8b..2da55b7638 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; } -- GitLab