Index: test/runner/compact_reporter_test.dart |
diff --git a/test/runner/compact_reporter_test.dart b/test/runner/compact_reporter_test.dart |
index 967021f2664dc732528724091727a7dad0186ae1..5380d85e9f55ad2a7677c1d88af133ab67c4ad61 100644 |
--- a/test/runner/compact_reporter_test.dart |
+++ b/test/runner/compact_reporter_test.dart |
@@ -286,6 +286,23 @@ void main() { |
+1: really ... longer than that. No, yet longer. A little more... okay, that should do it. |
+1: All tests passed!"""); |
}); |
+ |
+ test("doesn't print a clock update between two prints", () { |
+ _expectReport(""" |
+ test('slow', () async { |
+ print('hello'); |
+ await new Future.delayed(new Duration(seconds: 3)); |
+ print('goodbye'); |
+ });""", |
+ """ |
+ +0: loading test.dart |
+ +0: slow |
+ hello |
+ goodbye |
+ |
+ +1: slow |
+ +1: All tests passed!"""); |
+ }); |
}); |
group("skip:", () { |