why tf does it work on my machine and not on ci?

This commit is contained in:
Oleksandr Smirnov 2025-02-17 20:35:20 +02:00
parent 9573c914d7
commit 6caddac5c9
No known key found for this signature in database

View file

@ -16,7 +16,7 @@ T["impl"]["works w io.Writer"] = function()
t.fixtures.write(tmp, fixtures.input) t.fixtures.write(tmp, fixtures.input)
child.cmd("silent edit " .. tmp) child.cmd("silent edit " .. tmp)
child.fn.setpos(".", { child.fn.bufnr "%", 3, 6, 0 }) child.fn.setpos(".", { child.fn.bufnr(tmp), 3, 6 })
child.cmd "GoImpl w io.Writer" child.cmd "GoImpl w io.Writer"
child.cmd "write" child.cmd "write"
@ -44,7 +44,7 @@ T["impl"]["works io.Closer"] = function()
t.fixtures.write(tmp, fixtures.input) t.fixtures.write(tmp, fixtures.input)
child.cmd("silent edit " .. tmp) child.cmd("silent edit " .. tmp)
child.fn.setpos(".", { child.fn.bufnr "%", 3, 6, 0 }) child.fn.setpos(".", { child.fn.bufnr(tmp), 3, 6 })
child.cmd "GoImpl io.Closer" child.cmd "GoImpl io.Closer"
child.cmd "write" child.cmd "write"