소스 검색

Rename some tests.

Dan Barella 7 년 전
부모
커밋
8e27c7327d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/cast.rs

+ 2 - 2
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;