Index: tests/compiler/dart2js/field_type_simple_inferer_test.dart |
diff --git a/tests/compiler/dart2js/field_type_simple_inferer_test.dart b/tests/compiler/dart2js/field_type_simple_inferer_test.dart |
index 7422b801c4b4f20759b0ee563ecb5aed9a2d58b7..edac5817fa1303d143d932caa9fe6be30e42e548 100644 |
--- a/tests/compiler/dart2js/field_type_simple_inferer_test.dart |
+++ b/tests/compiler/dart2js/field_type_simple_inferer_test.dart |
@@ -14,7 +14,7 @@ void compileAndFind(String code, |
String memberName, |
bool disableInlining, |
check(compiler, element)) { |
- Uri uri = new Uri.fromComponents(scheme: 'source'); |
+ Uri uri = new Uri(scheme: 'source'); |
var compiler = compilerFor(code, uri); |
compiler.runCompiler(uri); |
compiler.disableInlining = disableInlining; |