Remove an unneeded assert.

This commit is contained in:
Dan Barella 2018-01-29 18:52:02 -05:00
parent 1349db5165
commit 387049aa62
1 changed files with 0 additions and 5 deletions

View File

@ -655,9 +655,4 @@ fn float_to_integer_checks_overflow() {
// Expect the overflow to be caught
assert_eq!(source.to_i32(), None);
// Specifically make sure we didn't silently let the overflow through
// (This line is mostly for humans -- the robots should catch any problem
// on the line above).
assert!(source.to_i32() != Some(-2147483648));
}