Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(476)

Unified Diff: test/cctest/test-parsing.cc

Issue 2661113002: [ESnext] Disallow using new with import() (Closed)
Patch Set: update goldens Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/cctest/interpreter/bytecode_expectations/Generators.golden ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-parsing.cc
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc
index 57dcb52d964932c520606eaa6abcfb2c4e9540df..4c324c56bea18ac7bd3b836054445a77b332d1a9 100644
--- a/test/cctest/test-parsing.cc
+++ b/test/cctest/test-parsing.cc
@@ -4153,7 +4153,6 @@ TEST(ImportExpressionSuccess) {
};
const char* data[] = {
- "new import(x)",
"import(1)",
"import(y=x)",
"f(...[import(y=x)])",
@@ -4231,6 +4230,7 @@ TEST(ImportExpressionErrors) {
"import+",
"import = 1",
"import.wat",
+ "new import(x)",
NULL
};
« no previous file with comments | « test/cctest/interpreter/bytecode_expectations/Generators.golden ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698