Fix typos in test function names

This commit is contained in:
GoodDaisy 2024-01-11 22:45:58 +08:00
parent ed47c35b4d
commit 04f3e939a7
1 changed files with 2 additions and 2 deletions

View File

@ -1676,13 +1676,13 @@ mod tests {
}
#[test]
fn u256_wrapping_add_wraps_at_boundry() {
fn u256_wrapping_add_wraps_at_boundary() {
assert_eq!(U256::MAX.wrapping_add(U256::ONE), U256::ZERO);
assert_eq!(U256::MAX.wrapping_add(U256::from(2_u8)), U256::ONE);
}
#[test]
fn u256_wrapping_sub_wraps_at_boundry() {
fn u256_wrapping_sub_wraps_at_boundary() {
assert_eq!(U256::ZERO.wrapping_sub(U256::ONE), U256::MAX);
assert_eq!(U256::ONE.wrapping_sub(U256::from(2_u8)), U256::MAX);
}