diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2022-01-18 22:15:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-18 22:15:26 +0100 |
| commit | c80715f883b8c7963782973b23297c5dec7924be (patch) | |
| tree | 3ae4ea4499db6824abd65be4b4f2931a6b8a2864 /tests/indent/lua_spec.lua | |
| parent | chore: remove swift tests for now (cause CI failure) (diff) | |
| download | nvim-treesitter-c80715f883b8c7963782973b23297c5dec7924be.tar nvim-treesitter-c80715f883b8c7963782973b23297c5dec7924be.tar.gz nvim-treesitter-c80715f883b8c7963782973b23297c5dec7924be.tar.bz2 nvim-treesitter-c80715f883b8c7963782973b23297c5dec7924be.tar.lz nvim-treesitter-c80715f883b8c7963782973b23297c5dec7924be.tar.xz nvim-treesitter-c80715f883b8c7963782973b23297c5dec7924be.tar.zst nvim-treesitter-c80715f883b8c7963782973b23297c5dec7924be.zip | |
feat(lua)!: switch from our fork to MunifTanjim's (#2272)
also take queries from https://github.com/MunifTanjim/nvim-treesitter-lua/tree/main/queries/lua
BREAKING CHANGE: queries are not compatible; modules will have to update
Diffstat (limited to 'tests/indent/lua_spec.lua')
| -rw-r--r-- | tests/indent/lua_spec.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/indent/lua_spec.lua b/tests/indent/lua_spec.lua index 43dc81033..3b3beafea 100644 --- a/tests/indent/lua_spec.lua +++ b/tests/indent/lua_spec.lua @@ -11,7 +11,6 @@ local run = Runner:new(it, "tests/indent/lua", { describe("indent Lua:", function() describe("whole file:", function() run:whole_file(".", { expected_failures = { - "./string.lua", "./comment.lua", } }) end) @@ -29,7 +28,7 @@ describe("indent Lua:", function() run:new_line("table.lua", { on_line = 1, text = "b = 0,", indent = 2 }) run:new_line("table.lua", { on_line = 5, text = "4,", indent = 4 }) run:new_line("table.lua", { on_line = 7, text = "4,", indent = 4 }) - run:new_line("loop.lua", { on_line = 4, text = "x = x + 1", indent = 2 }) + run:new_line("loop.lua", { on_line = 4, text = "x = x + 1", indent = 2 }, "expected failure", XFAIL) run:new_line("cond.lua", { on_line = 5, text = "x = x + 1", indent = 2 }) run:new_line("cond.lua", { on_line = 7, text = "x = x + 1", indent = 2 }) run:new_line("cond.lua", { on_line = 8, text = "x = x + 1", indent = 4 }) |
