| Index: tests/compiler/dart2js/deferred_emit_type_checks_test.dart
|
| diff --git a/tests/compiler/dart2js/deferred_emit_type_checks_test.dart b/tests/compiler/dart2js/deferred_emit_type_checks_test.dart
|
| index f4f8295ba978f4d24833435cd3a4c43231254fc7..2976f7e5c6361802aaccfd7762a325443e2227d2 100644
|
| --- a/tests/compiler/dart2js/deferred_emit_type_checks_test.dart
|
| +++ b/tests/compiler/dart2js/deferred_emit_type_checks_test.dart
|
| @@ -31,10 +31,10 @@ void main() {
|
| String mainOutput = collector.getOutput('', 'js');
|
| String deferredOutput = collector.getOutput('out_1', 'part.js');
|
| String isPrefix = compiler.backend.namer.operatorIsPrefix;
|
| - Expect.isTrue(deferredOutput.contains('${isPrefix}A: true'),
|
| - "Deferred output doesn't contain '${isPrefix}A: true':\n"
|
| + Expect.isTrue(deferredOutput.contains('${isPrefix}A: 1'),
|
| + "Deferred output doesn't contain '${isPrefix}A: 1':\n"
|
| "$deferredOutput");
|
| - Expect.isFalse(mainOutput.contains('${isPrefix}A: true'));
|
| + Expect.isFalse(mainOutput.contains('${isPrefix}A: 1'));
|
| }));
|
| }
|
|
|
| @@ -52,7 +52,9 @@ void main() {
|
| """, "lib.dart": """
|
| class A<T> {}
|
|
|
| -A<A> instance = new A<A>();
|
| +class B<T> implements A<T> {}
|
| +
|
| +B<B> instance = new B<B>();
|
|
|
| bool f (Object o) {
|
| return o is A<A>;
|
|
|