summaryrefslogtreecommitdiff
path: root/test/language/function-code/10.4.3-1-14-s.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/language/function-code/10.4.3-1-14-s.js')
-rw-r--r--test/language/function-code/10.4.3-1-14-s.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/language/function-code/10.4.3-1-14-s.js b/test/language/function-code/10.4.3-1-14-s.js
index 97a2de70a..4290d4cb9 100644
--- a/test/language/function-code/10.4.3-1-14-s.js
+++ b/test/language/function-code/10.4.3-1-14-s.js
@@ -7,11 +7,8 @@ description: >
Strict Mode - checking 'this' (Function constructor includes
strict directive prologue)
flags: [noStrict]
-includes: [runTestCase.js]
---*/
-function testcase() {
var f = Function("\"use strict\";\nreturn typeof this;");
-return f() === "undefined";
-}
-runTestCase(testcase);
+
+assert.sameValue(f(), "undefined", 'f()');