| Index: dart/tools/testing/dart/test_progress.dart
|
| diff --git a/dart/tools/testing/dart/test_progress.dart b/dart/tools/testing/dart/test_progress.dart
|
| index 7b99f678cd4627d3d0e3bfd3d539f532feb5d629..d157f23935a521a94f0a1c5aeaeb885f2e513736 100644
|
| --- a/dart/tools/testing/dart/test_progress.dart
|
| +++ b/dart/tools/testing/dart/test_progress.dart
|
| @@ -124,6 +124,18 @@ class ProgressIndicator {
|
| }
|
| output.add(expected.toString());
|
| output.add('Actual: ${test.output.result}');
|
| + if (test.info != null) {
|
| + if (test.output.incomplete && !test.info.hasCompileError) {
|
| + output.add('Unexpected compile-time error.');
|
| + } else {
|
| + if (test.info.hasCompileError) {
|
| + output.add('Compile-time error expected.');
|
| + }
|
| + if (test.info.hasRuntimeError) {
|
| + output.add('Runtime error expected.');
|
| + }
|
| + }
|
| + }
|
| if (!test.output.diagnostics.isEmpty()) {
|
| String prefix = 'diagnostics:';
|
| for (var s in test.output.diagnostics) {
|
|
|