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

Unified Diff: tests/language_strong/switch_bad_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_strong/switch_bad_case_test.dart
diff --git a/tests/language_strong/switch_bad_case_test.dart b/tests/language_strong/switch_bad_case_test.dart
index 8211521dac5a78a052d3cd3e3e284fa5219d4b8a..7b9e9997cbb5d07a472c3c4e2b30e839336245df 100644
--- a/tests/language_strong/switch_bad_case_test.dart
+++ b/tests/language_strong/switch_bad_case_test.dart
@@ -19,18 +19,18 @@ caesarSays(n) {
return "I";
case 4:
return "IV";
- case "M": /// 01: compile-time error
- return 1000; /// 01: continued
+ case "M": // /// 01: compile-time error
+ return 1000; // /// 01: continued
}
return null;
}
archimedesSays(n) {
- switch (n) { /// 02: continued
- case 3.14: /// 02: compile-time error
- return "Pi"; /// 02: continued
- case 2.71828: /// 02: continued
- return "Huh?"; /// 02: continued
- } /// 02: continued
+ switch (n) { // /// 02: continued
+ case 3.14: // /// 02: compile-time error
+ return "Pi"; // /// 02: continued
+ case 2.71828: // /// 02: continued
+ return "Huh?"; // /// 02: continued
+ } // /// 02: continued
return null;
}

Powered by Google App Engine
This is Rietveld 408576698