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 |