Index: tests/compiler/dart2js/simple_inferrer_no_such_method_test.dart |
diff --git a/tests/compiler/dart2js/simple_inferrer_no_such_method_test.dart b/tests/compiler/dart2js/simple_inferrer_no_such_method_test.dart |
index 91fb20d6f7af24a266c65f496a50e2ba92f4a972..400c0f8d354d06c846db593c5c144231cf9ef772 100644 |
--- a/tests/compiler/dart2js/simple_inferrer_no_such_method_test.dart |
+++ b/tests/compiler/dart2js/simple_inferrer_no_such_method_test.dart |
@@ -93,7 +93,7 @@ main() { |
"""; |
main() { |
- Uri uri = new Uri.fromComponents(scheme: 'source'); |
+ Uri uri = new Uri(scheme: 'source'); |
var compiler = compilerFor(TEST1, uri); |
compiler.runCompiler(uri); |