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

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

Issue 2368613002: [modules] Simplify treatment of empty imports. (Closed)
Patch Set: Created 4 years, 3 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 | « src/parsing/parser.cc ('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 9e8ebd2406e649cb34b0d8ebde69bbbd9d0cddea..a88023cbfd51011b85f734db80e3cc81ff1ff005 100644
--- a/test/cctest/test-parsing.cc
+++ b/test/cctest/test-parsing.cc
@@ -6174,10 +6174,10 @@ TEST(ModuleParsingInternals) {
CheckEntry(entry, "y", "x", nullptr, -1);
}
- CHECK_EQ(3, descriptor->special_imports().length());
- CheckEntry(descriptor->special_imports().at(0), nullptr, nullptr, nullptr, 3);
- CheckEntry(descriptor->special_imports().at(1), nullptr, "loo", nullptr, 4);
- CheckEntry(descriptor->special_imports().at(2), nullptr, "foob", nullptr, 4);
+ CHECK_EQ(2, descriptor->namespace_imports().length());
+ CheckEntry(descriptor->namespace_imports().at(0), nullptr, "loo", nullptr, 4);
+ CheckEntry(descriptor->namespace_imports().at(1), nullptr, "foob", nullptr,
+ 4);
CHECK_EQ(4, descriptor->regular_imports().size());
entry = descriptor->regular_imports().find(
« no previous file with comments | « src/parsing/parser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698