mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20: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
17
tests/indent/rust/cond.rs
Normal file
17
tests/indent/rust/cond.rs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
fn foo(mut x: i32) -> i32 {
|
||||
if x > 10 {
|
||||
return 10;
|
||||
} else if x == 10 {
|
||||
return 9;
|
||||
} else {
|
||||
x += 10;
|
||||
}
|
||||
|
||||
if x < 0 {
|
||||
if x == -1 {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
0
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue