From 6caddac5c93788c51ca594e2cb64210216eb887a Mon Sep 17 00:00:00 2001 From: Oleksandr Smirnov Date: Mon, 17 Feb 2025 20:35:20 +0200 Subject: [PATCH] why tf does it work on my machine and not on ci? --- spec/integration/impl_test.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/integration/impl_test.lua b/spec/integration/impl_test.lua index 9ff57d8..bc4a596 100644 --- a/spec/integration/impl_test.lua +++ b/spec/integration/impl_test.lua @@ -16,7 +16,7 @@ T["impl"]["works w io.Writer"] = function() t.fixtures.write(tmp, fixtures.input) 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 "write" @@ -44,7 +44,7 @@ T["impl"]["works io.Closer"] = function() t.fixtures.write(tmp, fixtures.input) 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 "write"