Rename some tests.
This commit is contained in:
parent
aab7098acd
commit
8e27c7327d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue