mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Initial sketch of automated indent tests
This commit is contained in:
parent
eefa5662e6
commit
67f2c7149c
14 changed files with 257 additions and 0 deletions
23
lua/tests/indent/python/basic_collections.py
Normal file
23
lua/tests/indent/python/basic_collections.py
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# list
|
||||
a = [
|
||||
1, 2,
|
||||
3
|
||||
]
|
||||
|
||||
# set
|
||||
b = {
|
||||
3,
|
||||
4,
|
||||
}
|
||||
|
||||
# dict
|
||||
c = {
|
||||
'a': 'b',
|
||||
'c': 1,
|
||||
}
|
||||
|
||||
# tuple
|
||||
d = (
|
||||
1,
|
||||
2,
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue