1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 10:40:04 +08:00
SpaceVim/bundle/nvim-treesitter/tests/indent/dart/switch.dart

31 lines
283 B
Dart

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