Skip to content

Commit

Permalink
fix-test
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Apr 16, 2024
1 parent 7fd2464 commit a380257
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions testcrate/tests/big.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ fn widen_mul_u128() {

let mut errors = Vec::new();
for (i, (a, b, exp)) in tests.iter().enumerate() {
let res = a.zero_widen_mul(b);
if res != exp {
let res = a.zero_widen_mul(*b);
if res != *exp {
errors.push((i, a, b, exp, res));
}
}
Expand Down Expand Up @@ -67,8 +67,8 @@ fn widen_mul_i128() {

let mut errors = Vec::new();
for (i, (a, b, exp)) in tests.iter().enumerate() {
let res = a.zero_widen_mul(b);
if res != exp {
let res = a.zero_widen_mul(*b);
if res != *exp {
errors.push((i, a, b, exp, res));
}
}
Expand Down

0 comments on commit a380257

Please sign in to comment.