Skip to content

Commit a380257

Browse files
committed
fix-test
1 parent 7fd2464 commit a380257

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

testcrate/tests/big.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ fn widen_mul_u128() {
3434

3535
let mut errors = Vec::new();
3636
for (i, (a, b, exp)) in tests.iter().enumerate() {
37-
let res = a.zero_widen_mul(b);
38-
if res != exp {
37+
let res = a.zero_widen_mul(*b);
38+
if res != *exp {
3939
errors.push((i, a, b, exp, res));
4040
}
4141
}
@@ -67,8 +67,8 @@ fn widen_mul_i128() {
6767

6868
let mut errors = Vec::new();
6969
for (i, (a, b, exp)) in tests.iter().enumerate() {
70-
let res = a.zero_widen_mul(b);
71-
if res != exp {
70+
let res = a.zero_widen_mul(*b);
71+
if res != *exp {
7272
errors.push((i, a, b, exp, res));
7373
}
7474
}

0 commit comments

Comments
 (0)