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

Unified Diff: test/codegen_test.dart

Issue 1633003002: Add --modules=node support (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: merged master Created 4 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/codegen/node_modules.dart ('k') | tool/input_sdk/lib/html/ddc/html_ddc.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen_test.dart
diff --git a/test/codegen_test.dart b/test/codegen_test.dart
index fcb973b7288f0ac2a8b3bfba717da3ce83d9b162..dd3ec981d138b59e9c8918f0e5ca705a055c4cf4 100644
--- a/test/codegen_test.dart
+++ b/test/codegen_test.dart
@@ -153,7 +153,9 @@ $compilerMessages''';
var closure = filename == 'closure';
var moduleFormat = filename == 'es6_modules'
? ModuleFormat.es6
- : ModuleFormat.legacy;
+ : filename == 'node_modules'
+ ? ModuleFormat.node
+ : ModuleFormat.legacy;
var success;
// TODO(vsm): Is it okay to reuse the same context here? If there is
// overlap between test files, we may need separate ones for each
« no previous file with comments | « test/codegen/node_modules.dart ('k') | tool/input_sdk/lib/html/ddc/html_ddc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698