diff --git a/test/language/statements/for/S12.6.3_A9.1.js b/test/language/statements/for/S12.6.3_A9.1.js index faa2e8e23d..af8c01b0a5 100644 --- a/test/language/statements/for/S12.6.3_A9.1.js +++ b/test/language/statements/for/S12.6.3_A9.1.js @@ -16,7 +16,7 @@ supreme=5; //CHECK# try { var __evaluated = eval("for(count=0;;) {if (count===supreme)break;else count++; }"); - if (__evaluated !== 4) { + if (__evaluated !== void 0) { $ERROR('#1: __evaluated === 4. Actual: __evaluated ==='+ __evaluated ); } } catch (e) { diff --git a/test/language/statements/for/S12.6.3_A9.js b/test/language/statements/for/S12.6.3_A9.js index eb14e6ca0d..5de81d4ffe 100644 --- a/test/language/statements/for/S12.6.3_A9.js +++ b/test/language/statements/for/S12.6.3_A9.js @@ -16,7 +16,7 @@ supreme=5; //CHECK# try { var __evaluated = eval("for(var count=0;;) {if (count===supreme)break;else count++; }"); - if (__evaluated !== 4) { + if (__evaluated !== void 0) { $ERROR('#1: __evaluated === 4. Actual: __evaluated ==='+ __evaluated ); } } catch (e) {