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 891b8e744f17c443c21b02becbef2bb08835817d..a39218295b69da08938adef05e3ea0b7aa5c4baf 100644 |
--- a/pkg/fixnum/test/int_64_test.dart |
+++ b/pkg/fixnum/test/int_64_test.dart |
@@ -658,6 +658,9 @@ void main() { |
checkInt(4294967296); |
checkInt(-4294967295); |
checkInt(-4294967296); |
+ expect(() => Int64.parseRadix('xyzzy', -1), throwsArgumentError); |
+ expect(() => Int64.parseRadix('plugh', 10), |
+ throwsA(new isInstanceOf<FormatException>())); |
}); |
test("parseRadix", () { |