This commit is contained in:
Alex Malykh 2023-11-23 18:15:00 +04:00
parent d5ff2a74fe
commit 0ad9a0d370
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ local default_config = {
iferr = "iferr",
dlv = "dlv",
},
---@class gopjer.ConfigGotests
---@class gopher.ConfigGotests
gotests = {
-- gotests doesn't have template named "default" so this plugin uses "default" to set the default template
template = "default",

View file

@ -6,7 +6,7 @@ local gotests = {}
---@param args table
local function add_test(args)
if c.gotests.named then
if c.gotests.named ~= true then
table.insert(args, "-named")
end