Index: test/runner/expanded_reporter_test.dart |
diff --git a/test/runner/expanded_reporter_test.dart b/test/runner/expanded_reporter_test.dart |
index 984353a02288e1d936ef2e1b52f64ea8245c36f5..d22ad8d322474b4c64f3f1264679f7d6b6fa0935 100644 |
--- a/test/runner/expanded_reporter_test.dart |
+++ b/test/runner/expanded_reporter_test.dart |
@@ -97,6 +97,17 @@ void main() { |
+2 -2: Some tests failed."""); |
}); |
+ test("always prints the full test name", () { |
+ _expectReport(""" |
+ test( |
+ 'really gosh dang long test name. Even longer than that. No, yet ' |
+ 'longer. A little more... okay, that should do it.', |
+ () {});""", |
+ """ |
+ +0: really gosh dang long test name. Even longer than that. No, yet longer. A little more... okay, that should do it. |
+ +1: All tests passed!"""); |
+ }); |
+ |
test("gracefully handles multiple test failures in a row", () { |
_expectReport(""" |
// This completer ensures that the test isolate isn't killed until all |