Index: tests/compiler/dart2js/private_test.dart |
diff --git a/tests/compiler/dart2js/private_test.dart b/tests/compiler/dart2js/private_test.dart |
index ed55d660d45dce90ee3569001d4da1a1e7258c53..eba8e31154857e0514dc319b29a8d7cf32a4bb14 100644 |
--- a/tests/compiler/dart2js/private_test.dart |
+++ b/tests/compiler/dart2js/private_test.dart |
@@ -71,7 +71,7 @@ analyze(String text, [expectedWarnings]) { |
'''; |
Uri uri = Uri.parse('src:public'); |
compiler.registerSource(uri, source); |
- return compiler.runCompiler(uri).then((_) { |
+ return compiler.run(uri).then((_) { |
compareWarningKinds(text, expectedWarnings, compiler.warnings); |
}); |
}; |