Change assert form.

This commit is contained in:
Dan Barella 2018-01-29 19:03:12 -05:00
parent 387049aa62
commit 9b88f9bcdd
1 changed files with 1 additions and 1 deletions

View File

@ -654,5 +654,5 @@ fn float_to_integer_checks_overflow() {
let source: f64 = 1.0e+123f64;
// Expect the overflow to be caught
assert_eq!(source.to_i32(), None);
assert_eq!(cast::<f64, i32>(source), None);
}