Rename some tests.

This commit is contained in:
Dan Barella 2018-01-29 19:44:43 -05:00 committed by Josh Stone
parent aab7098acd
commit 8e27c7327d
1 changed files with 2 additions and 2 deletions

View File

@ -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;