Skip to content

Commit dc37b55

Browse files
author
Ayush Kumar Mishra
committed
Minor refactoring
1 parent 941dca8 commit dc37b55

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

library/core/tests/num/i32.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ fn test_arith_operation() {
2323
assert_eq!(i32_b & i32_b << 1, 0);
2424
assert_eq!(i32_b | i32_b << 1, 0x30303030);
2525
let i32_c: isize = 0x10101010;
26-
assert_eq!(i32_c + i32_c * 2 / 3 * 2 + (i32_c - 7 % 3),
27-
i32_c + i32_c * 2 / 3 * 2 + (i32_c - 7 % 3));
26+
assert_eq!(
27+
i32_c + i32_c * 2 / 3 * 2 + (i32_c - 7 % 3),
28+
i32_c + i32_c * 2 / 3 * 2 + (i32_c - 7 % 3)
29+
);
2830
}

0 commit comments

Comments
 (0)