diff --git a/src/cast.rs b/src/cast.rs index 58f5a90..164a001 100644 --- a/src/cast.rs +++ b/src/cast.rs @@ -648,7 +648,7 @@ fn float_to_integer_checks_overflow() { } #[test] -fn test_cast_to_int() { +fn cast_to_int_checks_overflow() { let big_f: f64 = 1.0e123; let normal_f: f64 = 1.0; let small_f: f64 = -1.0e123; @@ -672,7 +672,7 @@ fn test_cast_to_int() { } #[test] -fn test_cast_to_unsigned_int() { +fn cast_to_unsigned_int_checks_overflow() { let big_f: f64 = 1.0e123; let normal_f: f64 = 1.0; let small_f: f64 = -1.0e123;