| Index: tests/compiler/dart2js/serialization/impact_test.dart
|
| diff --git a/tests/compiler/dart2js/serialization/impact_test.dart b/tests/compiler/dart2js/serialization/impact_test.dart
|
| index 3858f70421c426ae41c1474308a68c6f74bddfb3..97a6e2ddda35e6d4894b62352e0a29e4b0dded0e 100644
|
| --- a/tests/compiler/dart2js/serialization/impact_test.dart
|
| +++ b/tests/compiler/dart2js/serialization/impact_test.dart
|
| @@ -24,21 +24,16 @@ main(List<String> args) {
|
| } else {
|
| Uri entryPoint = Uri.parse('memory:main.dart');
|
| await check(serializedData, entryPoint,
|
| - sourceFiles: {'main.dart': 'main() {}'},
|
| - verbose: arguments.verbose);
|
| + sourceFiles: {'main.dart': 'main() {}'}, verbose: arguments.verbose);
|
| }
|
| });
|
| }
|
|
|
| -Future check(
|
| - SerializedData serializedData,
|
| - Uri entryPoint,
|
| - {Map<String, String> sourceFiles: const <String, String>{},
|
| - bool verbose: false}) async {
|
| -
|
| - Compiler compilerNormal = compilerFor(
|
| - memorySourceFiles: sourceFiles,
|
| - options: [Flags.analyzeAll]);
|
| +Future check(SerializedData serializedData, Uri entryPoint,
|
| + {Map<String, String> sourceFiles: const <String, String>{},
|
| + bool verbose: false}) async {
|
| + Compiler compilerNormal =
|
| + compilerFor(memorySourceFiles: sourceFiles, options: [Flags.analyzeAll]);
|
| compilerNormal.resolution.retainCachesForTesting = true;
|
| await compilerNormal.run(entryPoint);
|
|
|
|
|