@@ -77,7 +77,7 @@ public void testOpenComment() {
77
77
78
78
@ Test
79
79
public void testSwitchExpression () {
80
- test (false , new String []{"--enable-preview" , "-- no-startup" },
80
+ test (false , new String []{"--no-startup" },
81
81
(a ) -> assertCommand (a , "enum Day {MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY }" , "| created enum Day" ),
82
82
(a ) -> assertCommand (a , "Day day = Day.FRIDAY;" , "day ==> FRIDAY" ),
83
83
(a ) -> assertCommand (a , "switch (day) {" , "" ),
@@ -91,7 +91,7 @@ public void testSwitchExpression() {
91
91
92
92
@ Test
93
93
public void testSwitchExpressionCompletion () {
94
- test (false , new String []{"--enable-preview" , "-- no-startup" },
94
+ test (false , new String []{"--no-startup" },
95
95
(a ) -> assertCommand (a , "enum Day {MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY }" , "| created enum Day" ),
96
96
(a ) -> assertCommand (a , "Day day = Day.FRIDAY;" , "day ==> FRIDAY" ),
97
97
(a ) -> assertCommand (a , "switch (day) {" , "" ),
0 commit comments