| Index: test/codegen/corelib/double_round3_test.dart
|
| diff --git a/test/codegen/language/malbounded_type_literal_test.dart b/test/codegen/corelib/double_round3_test.dart
|
| similarity index 55%
|
| copy from test/codegen/language/malbounded_type_literal_test.dart
|
| copy to test/codegen/corelib/double_round3_test.dart
|
| index ca64d7efa8b66168b1bb82207f864ee87d467797..55646405499aec0805e917b444197a8750d133cb 100644
|
| --- a/test/codegen/language/malbounded_type_literal_test.dart
|
| +++ b/test/codegen/corelib/double_round3_test.dart
|
| @@ -4,11 +4,9 @@
|
|
|
| import 'package:expect/expect.dart';
|
|
|
| -class Super<T extends num> {}
|
| -class Malbounded extends Super<String> {}
|
| -
|
| main() {
|
| - Type t = Malbounded;
|
| - Expect.isNotNull(t);
|
| - Expect.isTrue(t is Type);
|
| -}
|
| + Expect.equals(0, 0.49999999999999994.round());
|
| + Expect.equals(0, (-0.49999999999999994).round());
|
| + Expect.isTrue(0.49999999999999994.round() is int);
|
| + Expect.isTrue((-0.49999999999999994).round() is int);
|
| +}
|
|
|