Index: tests/compiler/dart2js/mock_compiler.dart |
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart |
index b55804f7d8b9f09995fb22a1dd69aca8876439d4..b7f85240d6a9f3eac6a5ea25029da139e4fb3476 100644 |
--- a/tests/compiler/dart2js/mock_compiler.dart |
+++ b/tests/compiler/dart2js/mock_compiler.dart |
@@ -163,9 +163,9 @@ class MockCompiler extends Compiler { |
}).then((_) => uri); |
} |
- Future runCompiler(Uri uri, [String mainSource = ""]) { |
+ Future run(Uri uri, [String mainSource = ""]) { |
return init(mainSource).then((Uri mainUri) { |
- return super.runCompiler(uri == null ? mainUri : uri); |
+ return super.run(uri == null ? mainUri : uri); |
}).then((result) { |
if (expectedErrors != null && |
expectedErrors != errors.length) { |