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

Unified Diff: tests/language_strong/enum_syntax_test.dart

Issue 2770063002: Revert "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 172a0b9010a8c14f636a1a12bd6453950216d599..e34bc68da445704c1d05d465040217749c1e3578 100644
--- a/tests/language_strong/enum_syntax_test.dart
+++ b/tests/language_strong/enum_syntax_test.dart
@@ -8,14 +8,11 @@
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
@@ -73,3 +70,4 @@ 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