mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 18:00:07 -04:00
move all tests to top-level tests/ directory
This commit is contained in:
parent
d4e8d3e659
commit
63a88c873f
56 changed files with 72 additions and 72 deletions
16
tests/indent/c/switch.c
Normal file
16
tests/indent/c/switch.c
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
void foo(int x) {
|
||||
switch (x) {
|
||||
case 1:
|
||||
x += 1;
|
||||
break;
|
||||
case 2: x += 2;
|
||||
break;
|
||||
case 3: x += 3; break;
|
||||
case 4: {
|
||||
x += 4;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
x = -x;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue