| Index: tests/compiler/dart2js/analyze_dart2js_test.dart
|
| diff --git a/tests/compiler/dart2js/analyze_dart2js_test.dart b/tests/compiler/dart2js/analyze_dart2js_test.dart
|
| index f5fc77c444a429e7b0daeabe97ae7e4cd06d9407..1b1736f59acc6213a4ef1c3119041fdfd0f0bae7 100644
|
| --- a/tests/compiler/dart2js/analyze_dart2js_test.dart
|
| +++ b/tests/compiler/dart2js/analyze_dart2js_test.dart
|
| @@ -21,16 +21,14 @@ import 'related_types.dart';
|
| */
|
| // TODO(johnniwinther): Support canonical URIs as keys and message kinds as
|
| // values.
|
| -const Map<String,List<String>> WHITE_LIST = const {
|
| -};
|
| +const Map<String, List<String>> WHITE_LIST = const {};
|
|
|
| void main() {
|
| var uri = currentDirectory.resolve('pkg/compiler/lib/src/dart2js.dart');
|
| asyncTest(() => analyze([uri], WHITE_LIST, checkResults: checkResults));
|
| }
|
|
|
| -bool checkResults(Compiler compiler,
|
| - CollectingDiagnosticHandler handler) {
|
| +bool checkResults(Compiler compiler, CollectingDiagnosticHandler handler) {
|
| checkRelatedTypes(compiler);
|
| return !handler.hasHint;
|
| -}
|
| +}
|
|
|