Skip to content

Commit

Permalink
fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
pgherveou committed Sep 9, 2024
1 parent 36bff2f commit 5024f87
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions uint/tests/uint_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -525,8 +525,8 @@ fn uint256_mul_overflow() {
#[should_panic]
#[allow(unused_must_use)]
fn uint256_mul_overflow_panic() {
U256::from_str("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff").unwrap()
* U256::from_str("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff").unwrap();
U256::from_str("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff").unwrap() *
U256::from_str("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff").unwrap();
}

#[test]
Expand Down Expand Up @@ -600,8 +600,8 @@ fn uint256_shl_words() {
#[test]
fn uint256_mul() {
assert_eq!(
U256::from_str("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff").unwrap()
* U256::from_str("2").unwrap(),
U256::from_str("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff").unwrap() *
U256::from_str("2").unwrap(),
U256::from_str("fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe").unwrap()
);
}
Expand Down

0 comments on commit 5024f87

Please sign in to comment.