From 1514cef8f9ef2e5e6bc321e05758ea08f5bfd659 Mon Sep 17 00:00:00 2001 From: Oleksandr Smirnov Date: Wed, 19 Mar 2025 13:50:43 +0200 Subject: [PATCH] fix(tests/comments): well, now i fell stupid --- lua/gopher/comment.lua | 2 +- spec/fixtures/comment/interface_output.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/gopher/comment.lua b/lua/gopher/comment.lua index 01f971b..6f68a3f 100644 --- a/lua/gopher/comment.lua +++ b/lua/gopher/comment.lua @@ -11,7 +11,7 @@ local comment = {} ---@return string ---@private local function template(name) - return "// " .. (name or "") .. " " + return "// " .. name .. " " end ---@param bufnr integer diff --git a/spec/fixtures/comment/interface_output.go b/spec/fixtures/comment/interface_output.go index c065125..689bc6d 100644 --- a/spec/fixtures/comment/interface_output.go +++ b/spec/fixtures/comment/interface_output.go @@ -1,3 +1,4 @@ package main +// Testinger type Testinger interface{}