Index: test/preparser/strict-function-statement.pyt |
diff --git a/test/preparser/strict-function-statement.pyt b/test/preparser/strict-function-statement.pyt |
index 5542ee175942a2053ecdd9dead407b9ed1c9c096..cc3d7bb582ff8108133a76b19fd7f2ac439ec808 100644 |
--- a/test/preparser/strict-function-statement.pyt |
+++ b/test/preparser/strict-function-statement.pyt |
@@ -31,7 +31,10 @@ |
# scopes (global scope, function scope, and nested function scope). |
def StrictTest(name, source, legacy): |
if legacy: |
- extra_flags = ["--noharmony-scoping"] |
+ extra_flags = [ |
+ "--noharmony-scoping", |
+ "--noharmony-classes", |
+ "--noharmony-object-literals"] |
else: |
extra_flags = [] |
Test(name, '"use strict";\n' + source, "strict_function", |