Index: tests/language/bit_operations_test.dart |
diff --git a/tests/language/bit_operations_test.dart b/tests/language/bit_operations_test.dart |
index bbc17bdc0a92169565c50ff83ac9d144e608e351..a4f49ff3379cfb21454a1d5f3013b7cb714e3cde 100644 |
--- a/tests/language/bit_operations_test.dart |
+++ b/tests/language/bit_operations_test.dart |
@@ -181,12 +181,12 @@ int shiftRight(int a, int b) { return a >> b; } |
void testPrecedence(int a, int b, int c, int d) { |
// & binds stronger than ^, which binds stronger than |. |
int result = a & b ^ c | d & b ^ c; |
- Expect.equals(((a & b) ^ c) | ((d & b) ^ c), result); // &^| |
+ Expect.equals(((a & b) ^ c) | ((d & b) ^ c), result); // &^| |
Expect.notEquals((a & (b ^ c)) | (d & (b ^ c)), result); // ^&| |
sra1
2017/03/21 03:39:29
fix
|
- Expect.notEquals((a & b) ^ (c | (d & b)) ^ c, result); // &|^ |
- Expect.notEquals((a & b) ^ ((c | d) & b) ^ c, result); // |&^ |
- Expect.notEquals(a & (b ^ (c | d)) & (b ^ c), result); // |^& |
- Expect.notEquals(a & ((b ^ c) | d) & (b ^ c), result); // ^|& |
+ Expect.notEquals((a & b) ^ (c | (d & b)) ^ c, result); // &|^ |
+ Expect.notEquals((a & b) ^ ((c | d) & b) ^ c, result); // |&^ |
+ Expect.notEquals(a & (b ^ (c | d)) & (b ^ c), result); // |^& |
+ Expect.notEquals(a & ((b ^ c) | d) & (b ^ c), result); // ^|& |
// Binds stronger than relational operators. |
Expect.equals((a & b) < (c & d), a & b < c & d); |
// Binds weaker than shift operators. |