| Index: tests/compiler/dart2js/analyze_test_test.dart
|
| diff --git a/tests/compiler/dart2js/analyze_test_test.dart b/tests/compiler/dart2js/analyze_test_test.dart
|
| index c398f005221dc3117ec23caad24814a7962101b2..caa69cdaf84c90acd65528b006f8d107f3e46766 100644
|
| --- a/tests/compiler/dart2js/analyze_test_test.dart
|
| +++ b/tests/compiler/dart2js/analyze_test_test.dart
|
| @@ -7,13 +7,10 @@ library dart2js.analyze_test.test;
|
| import 'dart:io';
|
|
|
| import 'package:async_helper/async_helper.dart';
|
| -import 'package:compiler/src/apiimpl.dart' show
|
| - CompilerImpl;
|
| +import 'package:compiler/src/apiimpl.dart' show CompilerImpl;
|
| import 'package:compiler/src/commandline_options.dart';
|
| -import 'package:compiler/src/diagnostics/messages.dart' show
|
| - MessageKind;
|
| -import 'package:compiler/src/filenames.dart' show
|
| - nativeToUriPath;
|
| +import 'package:compiler/src/diagnostics/messages.dart' show MessageKind;
|
| +import 'package:compiler/src/filenames.dart' show nativeToUriPath;
|
|
|
| import 'analyze_helper.dart';
|
| import 'memory_compiler.dart';
|
| @@ -25,13 +22,13 @@ import 'memory_compiler.dart';
|
| * the error/warning message in the list of white-listings for each file.
|
| */
|
| // TODO(johnniwinther): Support canonical URIs as keys.
|
| -const Map<String, List/*<String|MessageKind>*/> WHITE_LIST = const {
|
| +const Map<String, List/*<String|MessageKind>*/ > WHITE_LIST = const {
|
| "/test/lib/src/util/": const [
|
| - "Library 'package:async/async.dart' doesn't export a "
|
| - "'ForkableStream' declaration.",
|
| + "Library 'package:async/async.dart' doesn't export a "
|
| + "'ForkableStream' declaration.",
|
| ],
|
| "/utils.dart": const [
|
| - "Duplicated library name 'utils'.",
|
| + "Duplicated library name 'utils'.",
|
| ],
|
| };
|
|
|
| @@ -82,8 +79,8 @@ main(List<String> arguments) {
|
| if (line.startsWith('Analyzing uri: ')) {
|
| int filenameOffset = line.indexOf('tests/compiler/dart2js/');
|
| if (filenameOffset != -1) {
|
| - uriList.add(Uri.base.resolve(
|
| - nativeToUriPath(line.substring(filenameOffset))));
|
| + uriList.add(Uri.base
|
| + .resolve(nativeToUriPath(line.substring(filenameOffset))));
|
| }
|
| }
|
| }
|
| @@ -101,10 +98,7 @@ main(List<String> arguments) {
|
| if (uriList.isEmpty) {
|
| uriList = computeInputUris(filter: filter);
|
| }
|
| - await analyze(
|
| - uriList,
|
| - WHITE_LIST,
|
| - mode: AnalysisMode.URI,
|
| - options: options);
|
| + await analyze(uriList, WHITE_LIST,
|
| + mode: AnalysisMode.URI, options: options);
|
| });
|
| }
|
|
|