diff options
| author | Daniel Woznicki <danwoz@nettoolkit.com> | 2022-03-18 14:22:31 -0700 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-03-19 12:29:36 +0100 |
| commit | b7ae8867b02c8fb4f7a20c3e44ee03bfffce53d8 (patch) | |
| tree | 8a5782e7f85e6ba622d23979909049ff776d665c /tests | |
| parent | Added fix for incorrect CSS indent after closing bracket (diff) | |
| download | nvim-treesitter-b7ae8867b02c8fb4f7a20c3e44ee03bfffce53d8.tar nvim-treesitter-b7ae8867b02c8fb4f7a20c3e44ee03bfffce53d8.tar.gz nvim-treesitter-b7ae8867b02c8fb4f7a20c3e44ee03bfffce53d8.tar.bz2 nvim-treesitter-b7ae8867b02c8fb4f7a20c3e44ee03bfffce53d8.tar.lz nvim-treesitter-b7ae8867b02c8fb4f7a20c3e44ee03bfffce53d8.tar.xz nvim-treesitter-b7ae8867b02c8fb4f7a20c3e44ee03bfffce53d8.tar.zst nvim-treesitter-b7ae8867b02c8fb4f7a20c3e44ee03bfffce53d8.zip | |
Combined closing.css and block.css test files into single open_block.css
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/indent/css/closing.css | 1 | ||||
| -rw-r--r-- | tests/indent/css/open_block.css (renamed from tests/indent/css/block.css) | 0 | ||||
| -rw-r--r-- | tests/indent/css_spec.lua | 4 |
3 files changed, 2 insertions, 3 deletions
diff --git a/tests/indent/css/closing.css b/tests/indent/css/closing.css deleted file mode 100644 index cc79c2c06..000000000 --- a/tests/indent/css/closing.css +++ /dev/null @@ -1 +0,0 @@ -.testo { diff --git a/tests/indent/css/block.css b/tests/indent/css/open_block.css index cc79c2c06..cc79c2c06 100644 --- a/tests/indent/css/block.css +++ b/tests/indent/css/open_block.css diff --git a/tests/indent/css_spec.lua b/tests/indent/css_spec.lua index 3d758ebac..e8eadf836 100644 --- a/tests/indent/css_spec.lua +++ b/tests/indent/css_spec.lua @@ -16,9 +16,9 @@ describe("indent CSS:", function() end) describe("new line:", function() - run:new_line("closing.css", { on_line = 1, text = "}", indent = 0 }) + run:new_line("open_block.css", { on_line = 1, text = "}", indent = 0 }) run:new_line( - "block.css", + "open_block.css", { on_line = 1, text = "color: green;", indent = 2 }, "might fail because tree is in a broken state", XFAIL |
