| Index: pkg/fixnum/test/int_64_test.dart
|
| diff --git a/pkg/fixnum/test/int_64_test.dart b/pkg/fixnum/test/int_64_test.dart
|
| index 4b7cbf1b59117b93ccf9d943f6bc8393bb8374bb..a73f2a934918926423812884f7c3ba61788ae07c 100644
|
| --- a/pkg/fixnum/test/int_64_test.dart
|
| +++ b/pkg/fixnum/test/int_64_test.dart
|
| @@ -515,20 +515,20 @@ void testShift() {
|
|
|
| try {
|
| new int64.fromInt(17) >> -1;
|
| - Expect.fail("x >> -1 should throw IllegalArgumentException");
|
| - } on IllegalArgumentException catch (e) {
|
| + Expect.fail("x >> -1 should throw ArgumentError");
|
| + } on ArgumentError catch (e) {
|
| }
|
|
|
| try {
|
| new int64.fromInt(17) << -1;
|
| - Expect.fail("x >> -1 should throw IllegalArgumentException");
|
| - } on IllegalArgumentException catch (e) {
|
| + Expect.fail("x >> -1 should throw ArgumentError");
|
| + } on ArgumentError catch (e) {
|
| }
|
|
|
| try {
|
| new int64.fromInt(17).shiftRightUnsigned(-1);
|
| - Expect.fail("x >> -1 should throw IllegalArgumentException");
|
| - } on IllegalArgumentException catch (e) {
|
| + Expect.fail("x >> -1 should throw ArgumentError");
|
| + } on ArgumentError catch (e) {
|
| }
|
|
|
| }
|
|
|