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 |
} |
+ |