Index: tests/compiler/dart2js/resolver_test.dart |
diff --git a/tests/compiler/dart2js/resolver_test.dart b/tests/compiler/dart2js/resolver_test.dart |
index 8a2b887d0e85ec4ec5604f99e22f3e03b3aebf83..d1970ac286c647be5e608faccb25e9ab0f1a1081 100644 |
--- a/tests/compiler/dart2js/resolver_test.dart |
+++ b/tests/compiler/dart2js/resolver_test.dart |
@@ -1074,7 +1074,7 @@ Future compileScript(String source) { |
Uri uri = new Uri(scheme: 'source'); |
MockCompiler compiler = compilerFor(source, uri); |
compiler.diagnosticHandler = createHandler(compiler, source); |
- return compiler.runCompiler(uri).then((_) { |
+ return compiler.run(uri).then((_) { |
return compiler; |
}); |
} |