Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Unified Diff: tests/language/bit_operations_test.dart

Issue 2763823002: Move spaces from before comments to within comments (Closed)
Patch Set: Fix comments Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698