Index: pkg/fixnum/test/int_32_test.dart |
diff --git a/pkg/fixnum/test/int_32_test.dart b/pkg/fixnum/test/int_32_test.dart |
index edbb925e668ebca25b38bc3b1a0f0635384333e6..63a80f061e4affbbfc22a4ddc1605a20b2c9801e 100644 |
--- a/pkg/fixnum/test/int_32_test.dart |
+++ b/pkg/fixnum/test/int_32_test.dart |
@@ -31,20 +31,20 @@ void main() { |
try { |
new int32.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 int32.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 int32.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) { |
} |
// wraparound |