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

Unified Diff: tests/language/switch_case_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/switch_case_test.dart
diff --git a/tests/language/switch_case_test.dart b/tests/language/switch_case_test.dart
index 15a57ba28bdd2c066546e07fbc5c300a74e96ef3..8d0b80d5ac248ce41642f2a8717936acc4ecfcdc 100644
--- a/tests/language/switch_case_test.dart
+++ b/tests/language/switch_case_test.dart
@@ -14,7 +14,7 @@ class A {
class B implements A {
const B();
- operator ==(o) => true; /// 00: compile-time error
+ operator ==(o) => true; // /// 00: compile-time error
}
class C implements A {
@@ -30,18 +30,18 @@ class D implements C {
main() {
switch (new B()) {
- case const A.B(): Expect.fail("bad switch"); break; /// 00: continued
+ case const A.B(): Expect.fail("bad switch"); break; // /// 00: continued
}
switch (new C()) {
case const C(): Expect.fail("bad switch"); break;
case const A.C(): Expect.fail("bad switch"); break;
case const A.C2(): Expect.fail("bad switch"); break;
- case const A(): Expect.fail("bad switch"); break; /// 01: compile-time error
+ case const A(): Expect.fail("bad switch"); break; // /// 01: compile-time error
}
switch (new A()) {
case const A(): Expect.fail("bad switch"); break;
- case const A.B(): Expect.fail("bad switch"); break; /// 02: compile-time error
+ case const A.B(): Expect.fail("bad switch"); break; // /// 02: compile-time error
}
}

Powered by Google App Engine
This is Rietveld 408576698