Skip to content

Commit

Permalink
Minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayush Kumar Mishra committed Sep 5, 2020
1 parent 941dca8 commit dc37b55
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions library/core/tests/num/i32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ fn test_arith_operation() {
assert_eq!(i32_b & i32_b << 1, 0);
assert_eq!(i32_b | i32_b << 1, 0x30303030);
let i32_c: isize = 0x10101010;
assert_eq!(i32_c + i32_c * 2 / 3 * 2 + (i32_c - 7 % 3),
i32_c + i32_c * 2 / 3 * 2 + (i32_c - 7 % 3));
assert_eq!(
i32_c + i32_c * 2 / 3 * 2 + (i32_c - 7 % 3),
i32_c + i32_c * 2 / 3 * 2 + (i32_c - 7 % 3)
);
}

0 comments on commit dc37b55

Please sign in to comment.