| Index: tests/compiler/dart2js/compiler_test.dart
|
| diff --git a/tests/compiler/dart2js/compiler_test.dart b/tests/compiler/dart2js/compiler_test.dart
|
| index 74f9b17e718f235106524b1939e7aa241228c82f..691b86bd6253f1fa8fc0eec757947f470e1443b7 100644
|
| --- a/tests/compiler/dart2js/compiler_test.dart
|
| +++ b/tests/compiler/dart2js/compiler_test.dart
|
| @@ -62,7 +62,7 @@ Future testErrorHandling() {
|
| compiler.reporter.setOnWarning(
|
| (c, n, m) => Expect.equals(foo, compiler.currentElement));
|
| foo.computeType(compiler.resolution);
|
| - Expect.equals(1, compiler.warnings.length);
|
| + Expect.equals(1, compiler.diagnosticCollector.warnings.length);
|
| });
|
| }
|
|
|
|
|