| Index: dart/tests/utils/recursive_import_test.dart
|
| diff --git a/dart/tests/utils/recursive_import_test.dart b/dart/tests/utils/recursive_import_test.dart
|
| index dd87128fb52b6b998b3a790809fb271642c065b6..62bf3620ff51b4761cf9b9a96f1e1a7906e794d6 100644
|
| --- a/dart/tests/utils/recursive_import_test.dart
|
| +++ b/dart/tests/utils/recursive_import_test.dart
|
| @@ -85,7 +85,6 @@ main() {
|
|
|
| int warningCount = 0;
|
| int errorCount = 0;
|
| - int infoCount = 0;
|
| void handler(Uri uri, int begin, int end, String message, Diagnostic kind) {
|
| if (uri != null) {
|
| // print('$uri:$begin:$end: $kind: $message');
|
| @@ -94,8 +93,6 @@ main() {
|
| warningCount++;
|
| } else if (kind == Diagnostic.ERROR) {
|
| errorCount++;
|
| - } else if (kind == Diagnostic.INFO || kind == Diagnostic.VERBOSE_INFO){
|
| - infoCount++;
|
| } else {
|
| throw kind;
|
| }
|
| @@ -110,11 +107,10 @@ main() {
|
| result.then((String code) {
|
| Expect.isNull(code);
|
| Expect.isTrue(10 < count);
|
| - Expect.equals(0, warningCount);
|
| - Expect.equals(1, errorCount);
|
| - // Two infos for each time RECURSIVE_MAIN is read, except the
|
| + // Two warnings for each time RECURSIVE_MAIN is read, except the
|
| // first time.
|
| - Expect.equals(2 * (count - 1), infoCount);
|
| + Expect.equals(2 * (count - 1), warningCount);
|
| + Expect.equals(1, errorCount);
|
| }, onError: (AsyncError e) {
|
| throw 'Compilation failed';
|
| });
|
|
|