Index: tests/compiler/dart2js/type_test_helper.dart |
diff --git a/tests/compiler/dart2js/type_test_helper.dart b/tests/compiler/dart2js/type_test_helper.dart |
index 32ed3ff234aba4b083d78ba7cf18d23d92340d67..e4c3ce3ce25cae667f928233021af07c8ef02f0b 100644 |
--- a/tests/compiler/dart2js/type_test_helper.dart |
+++ b/tests/compiler/dart2js/type_test_helper.dart |
@@ -71,7 +71,7 @@ class TypeEnvironment { |
getWarnings = () => collector.warnings; |
} |
compiler.stopAfterTypeInference = stopAfterTypeInference; |
- return compiler.runCompiler(uri).then((_) { |
+ return compiler.run(uri).then((_) { |
if (expectNoErrors || expectNoWarningsOrErrors) { |
var errors = getErrors(); |
Expect.isTrue(errors.isEmpty, |