refactor(tests): use auto commands instead of putting it in each test
This commit is contained in:
parent
9d734f114d
commit
c0297ac1d6
3 changed files with 9 additions and 5 deletions
|
|
@ -81,7 +81,6 @@ function testutils.setup_test(fixture, child, pos)
|
|||
|
||||
testutils.writefile(tmp, fixtures.input)
|
||||
child.cmd("silent edit " .. tmp)
|
||||
child.lua "vim.treesitter.start()"
|
||||
|
||||
local bufnr = child.fn.bufnr(tmp)
|
||||
if pos then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue