mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -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
41
lua/tests/indent/python/nested_collections.py
Normal file
41
lua/tests/indent/python/nested_collections.py
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
a = [
|
||||
1,
|
||||
[
|
||||
2,
|
||||
[
|
||||
3
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
b = [
|
||||
1, [[
|
||||
3
|
||||
],
|
||||
]
|
||||
]
|
||||
|
||||
c = [[[
|
||||
3
|
||||
]]]
|
||||
|
||||
d = {
|
||||
'a': [
|
||||
2, 3
|
||||
],
|
||||
'c': (
|
||||
[1, 2, 3],
|
||||
[
|
||||
2,
|
||||
4
|
||||
], {
|
||||
6,
|
||||
8
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
e = (1, 2,
|
||||
3, 4,
|
||||
5, 6
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue