summaryrefslogtreecommitdiff
path: root/js/src/jit-test/tests/modules/export-declaration.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/modules/export-declaration.js')
-rw-r--r--js/src/jit-test/tests/modules/export-declaration.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/js/src/jit-test/tests/modules/export-declaration.js b/js/src/jit-test/tests/modules/export-declaration.js
index 3c4a9b7355..48d1072bf4 100644
--- a/js/src/jit-test/tests/modules/export-declaration.js
+++ b/js/src/jit-test/tests/modules/export-declaration.js
@@ -403,9 +403,7 @@ assertThrowsInstanceOf(function() {
parseAsModule("export {,} from 'a'");
}, SyntaxError);
-assertThrowsInstanceOf(function() {
- parseAsModule("export { true as a } from 'b'");
-}, SyntaxError);
+parseAsModule("export { true as a } from 'b'");
assertThrowsInstanceOf(function () {
parseAsModule("export { a } from 'b' f();");