test!: install required go tree sitter parser
This commit is contained in:
parent
afae6dbb04
commit
f935d11203
2 changed files with 4 additions and 5 deletions
|
|
@ -11,17 +11,13 @@ local T = MiniTest.new_set {
|
|||
}
|
||||
T["struct_tags"] = MiniTest.new_set {}
|
||||
T["struct_tags"][".add"] = function()
|
||||
MiniTest.skip()
|
||||
|
||||
local tmp = vim.env.HOME .. "/test.go"
|
||||
|
||||
local tmp = t.tmpfile()
|
||||
local fixtures = t.fixtures.read "tags/add"
|
||||
t.fixtures.write(tmp, fixtures.input)
|
||||
|
||||
child.cmd("silent edit " .. tmp)
|
||||
child.fn.setpos(".", { child.fn.bufnr "%", 3, 6, 0 })
|
||||
child.cmd "GoTagAdd json"
|
||||
child.cmd "write"
|
||||
|
||||
t.eq(t.readfile(tmp), fixtures.output)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue