diff options
| author | Jędrzej Boczar <yendreij@gmail.com> | 2021-04-22 20:53:30 +0200 |
|---|---|---|
| committer | Kiyan <yazdani.kiyan@protonmail.com> | 2021-04-23 21:21:38 +0200 |
| commit | 63a88c873f3643aad9208488765dc53618edd40e (patch) | |
| tree | fb233a54b0dae8a6af1a12dfecb9cd85cbdb4f64 /tests/indent/python/nested_collections.py | |
| parent | ignore Lua indent test files when doing style-check (diff) | |
| download | nvim-treesitter-63a88c873f3643aad9208488765dc53618edd40e.tar nvim-treesitter-63a88c873f3643aad9208488765dc53618edd40e.tar.gz nvim-treesitter-63a88c873f3643aad9208488765dc53618edd40e.tar.bz2 nvim-treesitter-63a88c873f3643aad9208488765dc53618edd40e.tar.lz nvim-treesitter-63a88c873f3643aad9208488765dc53618edd40e.tar.xz nvim-treesitter-63a88c873f3643aad9208488765dc53618edd40e.tar.zst nvim-treesitter-63a88c873f3643aad9208488765dc53618edd40e.zip | |
move all tests to top-level tests/ directory
Diffstat (limited to 'tests/indent/python/nested_collections.py')
| -rw-r--r-- | tests/indent/python/nested_collections.py | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/indent/python/nested_collections.py b/tests/indent/python/nested_collections.py new file mode 100644 index 000000000..292a65a00 --- /dev/null +++ b/tests/indent/python/nested_collections.py @@ -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 + ) |
