From 8dcf2d22878d601793cf10859a5e47d48929ce76 Mon Sep 17 00:00:00 2001 From: Dan Barella Date: Mon, 29 Jan 2018 19:44:43 -0500 Subject: [PATCH] Rename some tests. --- src/cast.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cast.rs b/src/cast.rs index ccaaa41..ebe5390 100644 --- a/src/cast.rs +++ b/src/cast.rs @@ -646,7 +646,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; @@ -670,7 +670,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;