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

Unified Diff: tests/language_strong/if_null_precedence_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_strong/if_null_precedence_test.dart
diff --git a/tests/language_strong/if_null_precedence_test.dart b/tests/language_strong/if_null_precedence_test.dart
index fcce3d4f1c5e36b1b9ab85df5a0665c5a0a9df27..62033d310b7b9d94c201a9cbd63651f291659c03 100644
--- a/tests/language_strong/if_null_precedence_test.dart
+++ b/tests/language_strong/if_null_precedence_test.dart
@@ -48,7 +48,7 @@ main() {
if (checkedMode) {
Expect.throws(() => false || 1 ?? true, assertionError); /// 07: static type warning
} else {
- Expect.equals(false, false || 1 ?? true); /// 07: continued
+ Expect.equals(false, false || 1 ?? true); // /// 07: continued
}
if (checkedMode) {
@@ -57,8 +57,8 @@ main() {
Expect.throws(() => false || null ?? true, assertionError); /// 08: ok
} else {
// An incorrect parse of "a || (b ?? c)" would result in c being evaluated.
- int i = 0; /// 08: continued
- Expect.equals(false, false || null ?? i++ == 0); /// 08: continued
- Expect.equals(0, i); /// 08: continued
+ int i = 0; // /// 08: continued
+ Expect.equals(false, false || null ?? i++ == 0); // /// 08: continued
+ Expect.equals(0, i); // /// 08: continued
}
}

Powered by Google App Engine
This is Rietveld 408576698