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

Unified Diff: pkg/dev_compiler/test/codegen_test.dart

Issue 2346573002: Fix build break. (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 | « no previous file | pkg/dev_compiler/web/web_command.dart » ('j') | pkg/dev_compiler/web/web_command.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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");
}
« no previous file with comments | « no previous file | pkg/dev_compiler/web/web_command.dart » ('j') | pkg/dev_compiler/web/web_command.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698