spacevim/bundle/nvim-treesitter-0.9.1/tests/indent/dart/switch.dart

31 lines
283 B
Dart
Raw Normal View History

2024-08-21 14:17:26 +08:00
void test() {
switch(a) {
case 1:
}
}
void test() {
switch(a) {
default:
}
}
void test_break_dedent() {
switch(x) {
case 1:
break;
}
switch(y) {
case 2:
return;
}
}
void test_multi_case() {
switch(x) {
case 1:
case 2:
}
}