Index: test/mjsunit/harmony/module-parsing.js |
diff --git a/test/mjsunit/harmony/module-parsing.js b/test/mjsunit/harmony/module-parsing.js |
index 2f45326512751bc87458392947e558fd57a069f1..fa9e5ec35ca77ed0b26e71cd463003f70c3c7961 100644 |
--- a/test/mjsunit/harmony/module-parsing.js |
+++ b/test/mjsunit/harmony/module-parsing.js |
@@ -28,18 +28,14 @@ |
// Flags: --harmony-modules |
// Check that import/export declarations are rejected in eval or local scope. |
-assertThrows("export x;", SyntaxError); |
assertThrows("export let x;", SyntaxError); |
assertThrows("import x from 'http://url';", SyntaxError); |
-assertThrows("{ export x; }", SyntaxError); |
assertThrows("{ export let x; }", SyntaxError); |
assertThrows("{ import x from 'http://url'; }", SyntaxError); |
-assertThrows("function f() { export x; }", SyntaxError); |
assertThrows("function f() { export let x; }", SyntaxError); |
assertThrows("function f() { import x from 'http://url'; }", SyntaxError); |
-assertThrows("function f() { { export x; } }", SyntaxError); |
assertThrows("function f() { { export let x; } }", SyntaxError); |
assertThrows("function f() { { import x from 'http://url'; } }", SyntaxError); |