| Index: tests/compiler/dart2js/source_mapping_test.dart
|
| diff --git a/tests/compiler/dart2js/source_mapping_test.dart b/tests/compiler/dart2js/source_mapping_test.dart
|
| index 6b47737fdf3b181c6872f6ddb38d536081a3bf01..3cccbbdeef9d10292ee4d9f7b2aea9a64fe53edc 100644
|
| --- a/tests/compiler/dart2js/source_mapping_test.dart
|
| +++ b/tests/compiler/dart2js/source_mapping_test.dart
|
| @@ -3,7 +3,6 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| import "package:expect/expect.dart";
|
| -import 'dart:uri';
|
|
|
| import "../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart";
|
| import '../../../sdk/lib/_internal/compiler/implementation/source_file.dart';
|
| @@ -12,7 +11,7 @@ import 'parser_helper.dart';
|
|
|
| CodeBuffer compileAll(SourceFile sourceFile) {
|
| MockCompiler compiler = new MockCompiler();
|
| - Uri uri = new Uri.fromComponents(path: sourceFile.filename);
|
| + Uri uri = new Uri(path: sourceFile.filename);
|
| compiler.sourceFiles[uri.toString()] = sourceFile;
|
| compiler.runCompiler(uri);
|
| return compiler.backend.emitter.mainBuffer;
|
|
|