| Index: test/codegen/corelib/bool_hashcode_test.dart
|
| diff --git a/test/codegen/language/left_shift_test.dart b/test/codegen/corelib/bool_hashcode_test.dart
|
| similarity index 66%
|
| copy from test/codegen/language/left_shift_test.dart
|
| copy to test/codegen/corelib/bool_hashcode_test.dart
|
| index 7f151b10ffd2a557114f72f6bb3097625737f4f2..d33b14a05d59e88b215f2ebd99414c669ffb12c0 100644
|
| --- a/test/codegen/language/left_shift_test.dart
|
| +++ b/test/codegen/corelib/bool_hashcode_test.dart
|
| @@ -4,10 +4,12 @@
|
|
|
| import "package:expect/expect.dart";
|
|
|
| -main() {
|
| - for (int i = 0; i < 80; i++) {
|
| - var a = -1 << i;
|
| - var b = -1;
|
| - Expect.equals(1 << i, a ~/ b);
|
| +class BoolHashCodeTest {
|
| + static testMain() {
|
| + Expect.notEquals(true.hashCode, false.hashCode);
|
| }
|
| }
|
| +
|
| +main() {
|
| + BoolHashCodeTest.testMain();
|
| +}
|
|
|