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']; |