You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: base-test/org.eclipse.jdt.groovy.core.tests.compiler/src/org/eclipse/jdt/groovy/core/tests/basic/GroovySimpleTests.java
+108-4
Original file line number
Diff line number
Diff line change
@@ -3053,7 +3053,7 @@ public void testAbstractClass_GRE274_2() {
3053
3053
publicvoidtestSwitchCases1() {
3054
3054
//@formatter:off
3055
3055
String[] sources = {
3056
-
"X.groovy",
3056
+
"Main.groovy",
3057
3057
"def foo(p) {\n" +
3058
3058
" switch (p) {\n" +
3059
3059
" case 1:\n" +
@@ -3083,7 +3083,7 @@ public void testSwitchCases1() {
3083
3083
publicvoidtestSwitchCases2() {
3084
3084
//@formatter:off
3085
3085
String[] sources = {
3086
-
"X.groovy",
3086
+
"Main.groovy",
3087
3087
"def foo(p) {\n" +
3088
3088
" switch (p) {\n" +
3089
3089
" case 1:\n" +
@@ -3110,7 +3110,7 @@ public void testSwitchCases2() {
3110
3110
publicvoidtestSwitchCases3() {
3111
3111
//@formatter:off
3112
3112
String[] sources = {
3113
-
"X.groovy",
3113
+
"Main.groovy",
3114
3114
"def foo(x,y) {\n" +
3115
3115
" switch (x) {\n" +
3116
3116
" case 'x1':\n" +
@@ -3132,11 +3132,115 @@ public void testSwitchCases3() {
0 commit comments