diff --git a/test/staging/sm/lexical-environment/block-scoped-functions-deprecated-redecl.js b/test/staging/sm/lexical-environment/block-scoped-functions-deprecated-redecl.js index 843a956ee0d..c8aa36c2632 100644 --- a/test/staging/sm/lexical-environment/block-scoped-functions-deprecated-redecl.js +++ b/test/staging/sm/lexical-environment/block-scoped-functions-deprecated-redecl.js @@ -84,5 +84,3 @@ try { } assert.sameValue(log, 'eee'); - -if ('assert.sameValue' in this) diff --git a/test/staging/sm/lexical-environment/block-scoped-functions-hoisted-tdz.js b/test/staging/sm/lexical-environment/block-scoped-functions-hoisted-tdz.js index 7dc9b7af854..92cdd308bc1 100644 --- a/test/staging/sm/lexical-environment/block-scoped-functions-hoisted-tdz.js +++ b/test/staging/sm/lexical-environment/block-scoped-functions-hoisted-tdz.js @@ -36,5 +36,3 @@ try { } assert.sameValue(log, "truetrue"); - -if ("assert.sameValue" in this) diff --git a/test/staging/sm/lexical-environment/var-in-catch-body-annex-b-eval.js b/test/staging/sm/lexical-environment/var-in-catch-body-annex-b-eval.js index 0bb1f81e862..9dd8bedf53c 100644 --- a/test/staging/sm/lexical-environment/var-in-catch-body-annex-b-eval.js +++ b/test/staging/sm/lexical-environment/var-in-catch-body-annex-b-eval.js @@ -27,5 +27,3 @@ g(); assert.sameValue(x, "global-x"); assert.sameValue(log, "42g"); - -if ("assert.sameValue" in this) diff --git a/test/staging/sm/regress/regress-563221.js b/test/staging/sm/regress/regress-563221.js index 972fc47ff87..dba73b1ac2e 100644 --- a/test/staging/sm/regress/regress-563221.js +++ b/test/staging/sm/regress/regress-563221.js @@ -12,5 +12,3 @@ description: | esid: pending ---*/ "" + eval("(function () { if (x) ; else if (y) n(); else { " + Array(10000).join("e;") + " } });"); - -if (this.assert.sameValue)