Index: tests/utils/dummy_compiler_test.dart |
diff --git a/tests/utils/dummy_compiler_test.dart b/tests/utils/dummy_compiler_test.dart |
index af13834435f318f9d6db8d98a3f8167ea64e6980..50ab451daccef3a5638f67fe7ffaa0e5f94580fb 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'; |
@@ -94,9 +93,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) { |