Index: tests/compiler/dart2js/union_type_test.dart |
diff --git a/tests/compiler/dart2js/union_type_test.dart b/tests/compiler/dart2js/union_type_test.dart |
index d4e70c791ec3a74328f370f4d8a135fd761d5d9e..584ad70e0b459a97128f7e913254e81ea07c3cda 100644 |
--- a/tests/compiler/dart2js/union_type_test.dart |
+++ b/tests/compiler/dart2js/union_type_test.dart |
@@ -10,7 +10,7 @@ import "compiler_helper.dart"; |
main() { |
MockCompiler compiler = new MockCompiler.internal(analyzeOnly: true); |
- asyncTest(() => compiler.runCompiler(null, """ |
+ asyncTest(() => compiler.run(null, """ |
main() { |
print(2); print("Hello"); |
} |