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 4ae2dac475ca8311fb8930621ab6fda7cf704c32..2d18f18b841c5952edcb76b1df5fc0a65159baf7 100644 |
--- a/tests/compiler/dart2js/union_type_test.dart |
+++ b/tests/compiler/dart2js/union_type_test.dart |
@@ -9,19 +9,19 @@ import "package:compiler/src/world.dart"; |
import 'type_test_helper.dart'; |
main() { |
- |
asyncTest(() async { |
- TypeEnvironment env = await TypeEnvironment.create(r""" |
+ TypeEnvironment env = await TypeEnvironment.create( |
+ r""" |
class A {} |
class B {} |
""", |
- mainSource: r""" |
+ mainSource: r""" |
main() { |
new A(); |
new B(); |
} |
""", |
- useMockCompiler: false); |
+ useMockCompiler: false); |
World world = env.compiler.world; |
world.populate(); |
FlatTypeMask mask1 = new FlatTypeMask.exact(env.getElement('A')); |