From 098836da23397a3af34969bfd2fbf207ebf42449 Mon Sep 17 00:00:00 2001 From: MartinquaXD Date: Sat, 20 Apr 2024 11:16:54 +0200 Subject: [PATCH] fixup --- ethcontract/src/int.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethcontract/src/int.rs b/ethcontract/src/int.rs index ed07c06e..ca3951c6 100644 --- a/ethcontract/src/int.rs +++ b/ethcontract/src/int.rs @@ -1327,7 +1327,7 @@ mod tests { assert_eq!(I256::from(42 as $unsigned).to_string(), "42"); assert_eq!( I256::from(<$unsigned>::MIN).to_string(), - <$unsigned>::MAX.to_string(), + <$unsigned>::MIN.to_string(), ); assert!(matches!(<$signed>::try_from(small_positive), Ok(42)));