| Index: tests/compiler/dart2js/serialization/resolved_ast_test.dart
|
| diff --git a/tests/compiler/dart2js/serialization/resolved_ast_test.dart b/tests/compiler/dart2js/serialization/resolved_ast_test.dart
|
| index d39f90698f4feaac65ba6f174e2d8bf954992d3c..f18a7b64cf019073d3debd5fa68e3148fcc6227e 100644
|
| --- a/tests/compiler/dart2js/serialization/resolved_ast_test.dart
|
| +++ b/tests/compiler/dart2js/serialization/resolved_ast_test.dart
|
| @@ -16,7 +16,6 @@ import 'helper.dart';
|
| import 'test_data.dart';
|
| import 'test_helper.dart';
|
|
|
| -
|
| main(List<String> args) {
|
| Arguments arguments = new Arguments.from(args);
|
| asyncTest(() async {
|
| @@ -35,14 +34,10 @@ main(List<String> args) {
|
| });
|
| }
|
|
|
| -Future check(
|
| - SerializedData serializedData,
|
| - Uri entryPoint,
|
| - [Map<String, String> sourceFiles = const <String, String>{}]) async {
|
| -
|
| - Compiler compilerNormal = compilerFor(
|
| - memorySourceFiles: sourceFiles,
|
| - options: [Flags.analyzeAll]);
|
| +Future check(SerializedData serializedData, Uri entryPoint,
|
| + [Map<String, String> sourceFiles = const <String, String>{}]) async {
|
| + Compiler compilerNormal =
|
| + compilerFor(memorySourceFiles: sourceFiles, options: [Flags.analyzeAll]);
|
| compilerNormal.resolution.retainCachesForTesting = true;
|
| await compilerNormal.run(entryPoint);
|
|
|
|
|