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

Unified Diff: tests/language_strong/switch5_negative_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_strong/switch5_negative_test.dart
diff --git a/tests/language_strong/switch5_negative_test.dart b/tests/language_strong/switch5_negative_test.dart
index 69ac10a4242b0c89a100df6c46169c8033f7bb99..639c98392866eb58e47cdaa12566e9e6b242f13a 100644
--- a/tests/language_strong/switch5_negative_test.dart
+++ b/tests/language_strong/switch5_negative_test.dart
@@ -4,16 +4,17 @@
// Break' to case label is illegal.
class Switch5NegativeTest {
-
static testMain() {
var a = 5;
var x;
switch (a) {
L:
case 1:
- x = 1; break;
+ x = 1;
+ break;
case 6:
- x = 2; break L; // illegal
+ x = 2;
+ break L; // illegal
default:
break;
}

Powered by Google App Engine
This is Rietveld 408576698