| Index: tests/utils/recursive_import_test.dart
|
| diff --git a/tests/utils/recursive_import_test.dart b/tests/utils/recursive_import_test.dart
|
| index c1815e82d671348a5a0a353266aa017bde5921e2..550b352c927b07f00d66080d0a1a81d5a522e3ad 100644
|
| --- a/tests/utils/recursive_import_test.dart
|
| +++ b/tests/utils/recursive_import_test.dart
|
| @@ -39,7 +39,7 @@ main() {
|
| int errorCount = 0;
|
| void handler(Uri uri, int begin, int end, String message, Diagnostic kind) {
|
| if (uri != null) {
|
| - // print('$uri:$begin:$end: $kind: $message');
|
| + print('$uri:$begin:$end: $kind: $message');
|
| Expect.equals('main', uri.scheme);
|
| if (kind == Diagnostic.WARNING) {
|
| warningCount++;
|
| @@ -48,6 +48,8 @@ main() {
|
| } else {
|
| throw kind;
|
| }
|
| + } else {
|
| + print('$kind: $message');
|
| }
|
| }
|
|
|
| @@ -64,7 +66,7 @@ main() {
|
| // first time.
|
| Expect.equals(2 * (count - 1), warningCount);
|
| Expect.equals(1, errorCount);
|
| - }, onError: (e) {
|
| - throw 'Compilation failed';
|
| + }, onError: (e, s) {
|
| + throw 'Compilation failed: $e\n$s';
|
| }).then(asyncSuccess);
|
| }
|
|
|