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

Unified Diff: tests/language_strong/enum_syntax_test.dart

Issue 2774783002: Re-land "Format all multitests" (Closed)
Patch Set: 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
« no previous file with comments | « tests/language_strong/enum_private_test.dart ('k') | tests/language_strong/error_stacktrace_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language_strong/enum_syntax_test.dart
diff --git a/tests/language_strong/enum_syntax_test.dart b/tests/language_strong/enum_syntax_test.dart
index e34bc68da445704c1d05d465040217749c1e3578..172a0b9010a8c14f636a1a12bd6453950216d599 100644
--- a/tests/language_strong/enum_syntax_test.dart
+++ b/tests/language_strong/enum_syntax_test.dart
@@ -8,11 +8,14 @@
import 'package:expect/expect.dart';
-
enum Color { red, orange, yellow, green }
// Additional comma at end of list is ok.
-enum Veggies { carrot, bean, broccolo, }
+enum Veggies {
+ carrot,
+ bean,
+ broccolo,
+}
// Need at least one enumeration identifier.
enum Nada {} // //# 01: compile-time error
@@ -70,4 +73,3 @@ main() {
// It is a compile-time error to explicitly instantiate an enum instance.
var x = new Color(); // //# 30: compile-time error
}
-
« no previous file with comments | « tests/language_strong/enum_private_test.dart ('k') | tests/language_strong/error_stacktrace_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698