| Index: tests/compiler/dart2js/type_equals_test.dart
|
| diff --git a/tests/compiler/dart2js/type_equals_test.dart b/tests/compiler/dart2js/type_equals_test.dart
|
| index 0c283dbeac2cea536baae689a13c08a7a596cc17..634bc2c2d269e1921b21208d0061b97c98b44ee6 100644
|
| --- a/tests/compiler/dart2js/type_equals_test.dart
|
| +++ b/tests/compiler/dart2js/type_equals_test.dart
|
| @@ -87,30 +87,30 @@ void main() {
|
| """,
|
| uri,
|
| analyzeAll: true, analyzeOnly: true);
|
| - compiler.runCompiler(uri);
|
| + compiler.runCompiler(uri).then((_) {
|
| + test(compiler, "void1", "void2", expect: true);
|
| + test(compiler, "int1", "int2", expect: true);
|
| + test(compiler, "String1", "String2", expect: true);
|
| + test(compiler, "ListInt1", "ListInt2", expect: true);
|
| + test(compiler, "ListString1", "ListString2", expect: true);
|
| + test(compiler, "MapIntString1", "MapIntString2", expect: true);
|
| + test(compiler, "TypeVar1", "TypeVar2", expect: true);
|
| + test(compiler, "Function1a", "Function2a", expect: true);
|
| + test(compiler, "Function1b", "Function2b", expect: true);
|
| + test(compiler, "Typedef1a", "Typedef2a", expect: true);
|
| + test(compiler, "Typedef1b", "Typedef2b", expect: true);
|
| + test(compiler, "Typedef1c", "Typedef2c", expect: true);
|
|
|
| - test(compiler, "void1", "void2", expect: true);
|
| - test(compiler, "int1", "int2", expect: true);
|
| - test(compiler, "String1", "String2", expect: true);
|
| - test(compiler, "ListInt1", "ListInt2", expect: true);
|
| - test(compiler, "ListString1", "ListString2", expect: true);
|
| - test(compiler, "MapIntString1", "MapIntString2", expect: true);
|
| - test(compiler, "TypeVar1", "TypeVar2", expect: true);
|
| - test(compiler, "Function1a", "Function2a", expect: true);
|
| - test(compiler, "Function1b", "Function2b", expect: true);
|
| - test(compiler, "Typedef1a", "Typedef2a", expect: true);
|
| - test(compiler, "Typedef1b", "Typedef2b", expect: true);
|
| - test(compiler, "Typedef1c", "Typedef2c", expect: true);
|
| -
|
| - test(compiler, "void1", "int1", expect: false);
|
| - test(compiler, "int1", "String1", expect: false);
|
| - test(compiler, "String1", "ListInt1", expect: false);
|
| - test(compiler, "ListInt1", "ListString1", expect: false);
|
| - test(compiler, "ListString1", "MapIntString1", expect: false);
|
| - test(compiler, "MapIntString1", "TypeVar1", expect: false);
|
| - test(compiler, "TypeVar1", "Function1a", expect: false);
|
| - test(compiler, "Function1a", "Function1b", expect: false);
|
| - test(compiler, "Function1b", "Typedef1a", expect: false);
|
| - test(compiler, "Typedef1a", "Typedef1b", expect: false);
|
| - test(compiler, "Typedef1b", "Typedef1c", expect: false);
|
| + test(compiler, "void1", "int1", expect: false);
|
| + test(compiler, "int1", "String1", expect: false);
|
| + test(compiler, "String1", "ListInt1", expect: false);
|
| + test(compiler, "ListInt1", "ListString1", expect: false);
|
| + test(compiler, "ListString1", "MapIntString1", expect: false);
|
| + test(compiler, "MapIntString1", "TypeVar1", expect: false);
|
| + test(compiler, "TypeVar1", "Function1a", expect: false);
|
| + test(compiler, "Function1a", "Function1b", expect: false);
|
| + test(compiler, "Function1b", "Typedef1a", expect: false);
|
| + test(compiler, "Typedef1a", "Typedef1b", expect: false);
|
| + test(compiler, "Typedef1b", "Typedef1c", expect: false);
|
| + });
|
| }
|
|
|