mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-04 04:20:09 -04:00
add test
This commit is contained in:
parent
1c7ba3ffcf
commit
474c59dcf1
4 changed files with 37 additions and 2 deletions
6
tests/indent/algorithm/trailing.py
Normal file
6
tests/indent/algorithm/trailing.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
class x: # Ignore comment
|
||||
|
||||
class y:
|
||||
def z(): # Ignore comment
|
||||
|
||||
class t:
|
||||
11
tests/indent/algorithm/trailing_whitespace.html
Normal file
11
tests/indent/algorithm/trailing_whitespace.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<body>
|
||||
<!-- This file deliberately contains trailing whitespace -->
|
||||
<!-- Don't remove them -->
|
||||
<div>
|
||||
a
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue