diff options
| author | Ayush Kumar Mishra <ayush.k.mishra@xcelenergy.com> | 2020-09-05 17:07:53 +0530 |
|---|---|---|
| committer | Ayush Kumar Mishra <ayush.k.mishra@xcelenergy.com> | 2020-09-05 17:07:53 +0530 |
| commit | dc37b553accd4fb2f8d0c59f69c701b524361cc2 (patch) | |
| tree | e2c3b94eb7e7f8f1d9796d31fb3162b6cd8dc087 | |
| parent | 941dca8ed238a04a55741127165e9ad80671ed8a (diff) | |
| download | rust-dc37b553accd4fb2f8d0c59f69c701b524361cc2.tar.gz rust-dc37b553accd4fb2f8d0c59f69c701b524361cc2.zip | |
Minor refactoring
| -rw-r--r-- | library/core/tests/num/i32.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/library/core/tests/num/i32.rs b/library/core/tests/num/i32.rs index 71a40e14ebc..4acc760ffac 100644 --- a/library/core/tests/num/i32.rs +++ b/library/core/tests/num/i32.rs @@ -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) + ); } |
