From cefacdbb276f261c49ece860e9f82eab886abca1 Mon Sep 17 00:00:00 2001 From: cxworks Date: Fri, 8 Dec 2023 20:15:30 -0500 Subject: [PATCH 1/2] add missing unit test for i128 --- tests/test.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test.rs b/tests/test.rs index 1d7e8cb..e42edff 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -26,4 +26,5 @@ test! { test_u128_0(0u128, "0") test_u128_max(u128::max_value(), "340282366920938463463374607431768211455") test_i128_min(i128::min_value(), "-170141183460469231731687303715884105728") + test_i128_max(i128::MAX, "170141183460469231731687303715884105727") } From 84bffa9c1e5cc247aca25d55f3b043baeba8cc9d Mon Sep 17 00:00:00 2001 From: cxworks Date: Fri, 8 Dec 2023 20:21:58 -0500 Subject: [PATCH 2/2] fix CI error --- tests/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test.rs b/tests/test.rs index e42edff..96d15f5 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -26,5 +26,5 @@ test! { test_u128_0(0u128, "0") test_u128_max(u128::max_value(), "340282366920938463463374607431768211455") test_i128_min(i128::min_value(), "-170141183460469231731687303715884105728") - test_i128_max(i128::MAX, "170141183460469231731687303715884105727") + test_i128_max(std::i128::MAX, "170141183460469231731687303715884105727") }