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

Unified Diff: test/report_test.dart

Issue 1141013002: Fixes #179 -- compile error if editing files during server mode (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 7 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/dependency_graph_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/report_test.dart
diff --git a/test/report_test.dart b/test/report_test.dart
index 6305aaeaffef7c34facf8b658063bfb30060b7c0..c19e3aba449f71d1aa69882faea9678db674065a 100644
--- a/test/report_test.dart
+++ b/test/report_test.dart
@@ -33,8 +33,10 @@ void main() {
'''.replaceAll('\n ', '\n'),
};
testChecker(files);
- var reporter = new SummaryReporter();
- testChecker(files, reporter: reporter);
+
+ SummaryReporter reporter;
+ testChecker(files,
+ createReporter: (x) => reporter = new SummaryReporter(x));
_verifySummary(GlobalSummary summary) {
var mainLib = summary.loose['file:///main.dart'];
« no previous file with comments | « test/dependency_graph_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698