| Index: tests/language/malbounded_type_literal_test.dart
|
| diff --git a/tests/compiler/dart2js_native/only_pass_on_jsshell_test.dart b/tests/language/malbounded_type_literal_test.dart
|
| similarity index 64%
|
| copy from tests/compiler/dart2js_native/only_pass_on_jsshell_test.dart
|
| copy to tests/language/malbounded_type_literal_test.dart
|
| index 17fce76f02882c3c64161398f14eb702299393ef..ca64d7efa8b66168b1bb82207f864ee87d467797 100644
|
| --- a/tests/compiler/dart2js_native/only_pass_on_jsshell_test.dart
|
| +++ b/tests/language/malbounded_type_literal_test.dart
|
| @@ -4,9 +4,11 @@
|
|
|
| import 'package:expect/expect.dart';
|
|
|
| -import 'dart:_js_helper' show Primitives;
|
| +class Super<T extends num> {}
|
| +class Malbounded extends Super<String> {}
|
|
|
| main() {
|
| - Expect.isFalse(Primitives.isD8);
|
| - Expect.isTrue(Primitives.isJsshell);
|
| + Type t = Malbounded;
|
| + Expect.isNotNull(t);
|
| + Expect.isTrue(t is Type);
|
| }
|
|
|