| 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 93a20be49b9e762506f64dcd4971bfc2e67b6fa3..1c9ec4afed63550a458ae40b0e393a881e063a58 100644
|
| --- a/tests/compiler/dart2js/union_type_test.dart
|
| +++ b/tests/compiler/dart2js/union_type_test.dart
|
| @@ -10,18 +10,15 @@ 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);
|
| ClosedWorld world = env.closedWorld;
|
| FlatTypeMask mask1 = new FlatTypeMask.exact(env.getClass('A'));
|
| FlatTypeMask mask2 = new FlatTypeMask.exact(env.getClass('B'));
|
|
|