| 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 0afe96e032b18208b1452a593d8c31d9908e6943..e15471c9db9bf84c37d6eae0bc9579cd1b224235 100644
|
| --- a/tests/compiler/dart2js/source_map_deferred_d2js_validity_test.dart
|
| +++ b/tests/compiler/dart2js/source_map_deferred_d2js_validity_test.dart
|
| @@ -14,28 +14,25 @@ import 'source_map_validator_helper.dart';
|
|
|
| void main() {
|
| asyncTest(() => createTempDir().then((Directory tmpDir) {
|
| - String file =
|
| - 'tests/compiler/dart2js/source_map_deferred_validator_test_file.dart';
|
| - print("Compiling $file");
|
| - Future result = entry.internalMain(
|
| - [file,
|
| - '-o${tmpDir.path}/out.js',
|
| - '--library-root=sdk']);
|
| - return result.then((CompilationResult result) {
|
| - CompilerImpl 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',
|
| - windows: Platform.isWindows);
|
| - validateSourceMap(mainUri,
|
| - mainUri: Uri.base.resolve(file),
|
| - mainPosition: const Position(7, 1),
|
| - compiler: compiler);
|
| - validateSourceMap(deferredUri,
|
| - compiler: compiler);
|
| + String file =
|
| + 'tests/compiler/dart2js/source_map_deferred_validator_test_file.dart';
|
| + print("Compiling $file");
|
| + Future result = entry.internalMain(
|
| + [file, '-o${tmpDir.path}/out.js', '--library-root=sdk']);
|
| + return result.then((CompilationResult result) {
|
| + CompilerImpl 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',
|
| + windows: Platform.isWindows);
|
| + validateSourceMap(mainUri,
|
| + mainUri: Uri.base.resolve(file),
|
| + mainPosition: const Position(7, 1),
|
| + compiler: compiler);
|
| + validateSourceMap(deferredUri, compiler: compiler);
|
|
|
| - print("Deleting '${tmpDir.path}'.");
|
| - tmpDir.deleteSync(recursive: true);
|
| - });
|
| - }));
|
| + print("Deleting '${tmpDir.path}'.");
|
| + tmpDir.deleteSync(recursive: true);
|
| + });
|
| + }));
|
| }
|
|
|