Index: pkg/dev_compiler/test/codegen_test.dart |
diff --git a/pkg/dev_compiler/test/codegen_test.dart b/pkg/dev_compiler/test/codegen_test.dart |
index 7b3577f7aee65e8ef563704b31ff6a39c9eb10f7..c6695bf5563728a1aa6d70b97719bd664c5687ce 100644 |
--- a/pkg/dev_compiler/test/codegen_test.dart |
+++ b/pkg/dev_compiler/test/codegen_test.dart |
@@ -170,7 +170,7 @@ void _writeModule(String outPath, String expectPath, ModuleFormat format, |
if (errors.isNotEmpty && !errors.endsWith('\n')) errors += '\n'; |
new File(outPath + '.txt').writeAsStringSync(errors); |
- result.writeCodeSync(format, outPath + '.js'); |
+ result.writeCodeSync(format, false, outPath + '.js'); |
if (result.summaryBytes != null) { |
new File(outPath + '.sum').writeAsBytesSync(result.summaryBytes); |
@@ -184,7 +184,7 @@ void _writeModule(String outPath, String expectPath, ModuleFormat format, |
var expectFile = new File(expectPath + '.js'); |
if (result.isValid) { |
- result.writeCodeSync(format, expectFile.path); |
+ result.writeCodeSync(format, false, expectFile.path); |
} else { |
expectFile.writeAsStringSync("//FAILED TO COMPILE"); |
} |