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 e719fa61a8610e017fd8b625583fe5d38b94ebec..7ea6591582f1548efae11bc2aebb4c992afdc0e1 100644 |
--- a/pkg/fixnum/test/int_32_test.dart |
+++ b/pkg/fixnum/test/int_32_test.dart |
@@ -132,26 +132,26 @@ void main() { |
try { |
new int32.fromInt(17) < null; |
- Expect.fail("x < null should throw ArgumentError"); |
- } on ArgumentError catch (e) { |
+ Expect.fail("x < null should throw NullPointerException"); |
+ } on NullPointerException catch (e) { |
} |
try { |
new int32.fromInt(17) <= null; |
- Expect.fail("x <= null should throw ArgumentError"); |
- } on ArgumentError catch (e) { |
+ Expect.fail("x <= null should throw NullPointerException"); |
+ } on NullPointerException catch (e) { |
} |
try { |
new int32.fromInt(17) > null; |
- Expect.fail("x > null should throw ArgumentError"); |
- } on ArgumentError catch (e) { |
+ Expect.fail("x > null should throw NullPointerException"); |
+ } on NullPointerException catch (e) { |
} |
try { |
new int32.fromInt(17) < null; |
- Expect.fail("x >= null should throw ArgumentError"); |
- } on ArgumentError catch (e) { |
+ Expect.fail("x >= null should throw NullPointerException"); |
+ } on NullPointerException catch (e) { |
} |
Expect.isFalse(new int32.fromInt(17) == null); |