mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 02:16:18 +00:00
Fix Java12 tests
This commit is contained in:
1 parent
193f808b69
commit
428023f548
1 file changed
+5
-5
@@ -18,11 +18,11 @@ public class Switch12 {
|
||||
|
||||
public int switchExpr() {
|
||||
return switch (5) {
|
||||
case 1, 2 -> 0;
|
||||
case 3 -> {
|
||||
break 10;
|
||||
}
|
||||
default -> 10;
|
||||
case 1, 2 -> 0;
|
||||
case 3 -> {
|
||||
break 10;
|
||||
}
|
||||
default -> 10;
|
||||
} + 10;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user