Index: test/runner/json_reporter_test.dart |
diff --git a/test/runner/json_reporter_test.dart b/test/runner/json_reporter_test.dart |
index 31168fc485c0d7bf3a92f5a495bec793fbc1a660..401014d12b40c285bfca3545462e26a3474a810a 100644 |
--- a/test/runner/json_reporter_test.dart |
+++ b/test/runner/json_reporter_test.dart |
@@ -413,7 +413,7 @@ void _expectReport(String tests, List<Map> expected) { |
var stdoutLines = await test.stdoutStream().toList(); |
expect(stdoutLines.length, equals(expected.length), |
- reason: "Expected $stdoutLines to match $expected."); |
+ reason: "Expected $stdoutLines to match ${JSON.encode(expected)}."); |
// TODO(nweiz): validate each event against the JSON schema when |
// patefacio/json_schema#4 is merged. |