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

Unified Diff: tests/language/infinite_switch_label_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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/infinite_switch_label_test.dart
diff --git a/tests/language/infinite_switch_label_test.dart b/tests/language/infinite_switch_label_test.dart
index 9a89b91e0533492f316e81c67319e8b1d41fff95..7eec42c99c16624cda82ab2e8393d3f5c270f6f5 100644
--- a/tests/language/infinite_switch_label_test.dart
+++ b/tests/language/infinite_switch_label_test.dart
@@ -22,11 +22,13 @@ void main() {
void doSwitch(int target) {
List list = [];
switch (target) {
- l0: case 0:
+ l0:
+ case 0:
if (list.length > 10) throw list;
list.add(0);
continue l1;
- l1: case 1:
+ l1:
+ case 1:
if (list.length > 10) throw list;
list.add(1);
continue l0;
@@ -34,4 +36,4 @@ void doSwitch(int target) {
list.add(2);
continue l1;
}
-}
+}

Powered by Google App Engine
This is Rietveld 408576698