Index: tests/language_strong/bit_operations_test.dart |
diff --git a/tests/language_strong/bit_operations_test.dart b/tests/language_strong/bit_operations_test.dart |
index 2d46ba7217b7be82abaae4d35da07575dcf87198..2b31552d0cd253270977ece42f5beb27c0818384 100644 |
--- a/tests/language_strong/bit_operations_test.dart |
+++ b/tests/language_strong/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:28:14
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. |