Index: tests/utils/dummy_compiler_test.dart |
diff --git a/tests/utils/dummy_compiler_test.dart b/tests/utils/dummy_compiler_test.dart |
index ae44c2791a88b3a2943d416baf229bfbc18fae44..e490eb0b4f6779ed23ca003acbb14641435e21e3 100644 |
--- a/tests/utils/dummy_compiler_test.dart |
+++ b/tests/utils/dummy_compiler_test.dart |
@@ -6,7 +6,6 @@ |
library dummy_compiler; |
import 'dart:async'; |
-import 'dart:uri'; |
import '../../sdk/lib/_internal/compiler/compiler.dart'; |
@@ -93,9 +92,9 @@ void handler(Uri uri, int begin, int end, String message, Diagnostic kind) { |
main() { |
Future<String> result = |
- compile(new Uri.fromComponents(scheme: 'main'), |
- new Uri.fromComponents(scheme: 'lib', path: '/'), |
- new Uri.fromComponents(scheme: 'package', path: '/'), |
+ compile(new Uri(scheme: 'main'), |
+ new Uri(scheme: 'lib', path: '/'), |
+ new Uri(scheme: 'package', path: '/'), |
provider, handler); |
result.then((String code) { |
if (code == null) { |