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

Unified Diff: lib/src/runner/reporter/compact.dart

Issue 1637193003: Add suite information to the JSON reporter. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: fix changelog Created 4 years, 11 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
Index: lib/src/runner/reporter/compact.dart
diff --git a/lib/src/runner/reporter/compact.dart b/lib/src/runner/reporter/compact.dart
index 5fe7ef3164e03f4cc44949021b3b8930dab75989..1cac68a40089a3037cee4c8f3462c9aeedce93e1 100644
--- a/lib/src/runner/reporter/compact.dart
+++ b/lib/src/runner/reporter/compact.dart
@@ -380,7 +380,8 @@ class CompactReporter implements Reporter {
String _description(LiveTest liveTest) {
var name = liveTest.test.name;
- if (_printPath && liveTest.suite.path != null) {
+ if (_printPath && liveTest.suite is! LoadSuite &&
+ liveTest.suite.path != null) {
name = "${liveTest.suite.path}: $name";
}

Powered by Google App Engine
This is Rietveld 408576698