| Index: tests/compiler/dart2js/source_map_deferred_d2js_validity_test.dart
|
| diff --git a/tests/compiler/dart2js/source_map_deferred_d2js_validity_test.dart b/tests/compiler/dart2js/source_map_deferred_d2js_validity_test.dart
|
| index bb5a956006f53a1f3c97e3278ed13fde83340f02..83a1f8295390506c263e5b6e1397600bd3248766 100644
|
| --- a/tests/compiler/dart2js/source_map_deferred_d2js_validity_test.dart
|
| +++ b/tests/compiler/dart2js/source_map_deferred_d2js_validity_test.dart
|
| @@ -8,13 +8,11 @@ import 'dart:io';
|
| import 'package:async_helper/async_helper.dart';
|
| import 'package:compiler/src/dart2js.dart' as entry;
|
| import 'package:compiler/src/apiimpl.dart';
|
| +import 'package:compiler/compiler.dart';
|
|
|
| import 'source_map_validator_helper.dart';
|
| -import 'compiler_alt.dart' as alt;
|
|
|
| void main() {
|
| - entry.compileFunc = alt.compile;
|
| -
|
| asyncTest(() => createTempDir().then((Directory tmpDir) {
|
| String file =
|
| 'tests/compiler/dart2js/source_map_deferred_validator_test_file.dart';
|
| @@ -23,8 +21,8 @@ void main() {
|
| [file,
|
| '-o${tmpDir.path}/out.js',
|
| '--library-root=sdk']);
|
| - return result.then((_) {
|
| - Compiler compiler = alt.compiler;
|
| + return result.then((CompilationResult result) {
|
| + Compiler compiler = result.compiler;
|
| Uri mainUri = new Uri.file('${tmpDir.path}/out.js',
|
| windows: Platform.isWindows);
|
| Uri deferredUri = new Uri.file('${tmpDir.path}/out.js_1.part.js',
|
|
|