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

Unified Diff: tests/language/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/enum_private_test.dart ('k') | tests/language/error_stacktrace_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/enum_syntax_test.dart
diff --git a/tests/language/enum_syntax_test.dart b/tests/language/enum_syntax_test.dart
index fabc429eafbf95bc23fb93d5327838a260a08a6e..b7f44584bb3d1c096208edabcbe91227ecaeb753 100644
--- a/tests/language/enum_syntax_test.dart
+++ b/tests/language/enum_syntax_test.dart
@@ -6,11 +6,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
@@ -68,4 +71,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/enum_private_test.dart ('k') | tests/language/error_stacktrace_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698