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

Unified Diff: tests/language_strong/switch6_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/switch6_test.dart
diff --git a/tests/language_strong/switch6_test.dart b/tests/language_strong/switch6_test.dart
index 231adfc157c7e717d216bd9fd9e56ff87dc1f134..43e09dc93cc319235efa42e3079c2d764773e6e6 100644
--- a/tests/language_strong/switch6_test.dart
+++ b/tests/language_strong/switch6_test.dart
@@ -6,22 +6,21 @@
import "package:expect/expect.dart";
class Switch6Test {
-
static testMain() {
var a = 0;
var x = -1;
switch (a) {
- case 0: {
- x = 0;
- break;
- }
+ case 0:
+ {
+ x = 0;
+ break;
+ }
case 1:
x = 1;
break;
}
Expect.equals(0, x);
}
-
}
main() {

Powered by Google App Engine
This is Rietveld 408576698