From 0ad9a0d37071667b005fc9519f9fe9a1c0b8a951 Mon Sep 17 00:00:00 2001 From: Alex Malykh <49870662+ysomad@users.noreply.github.com> Date: Thu, 23 Nov 2023 18:15:00 +0400 Subject: [PATCH] test --- lua/gopher/config.lua | 2 +- lua/gopher/gotests.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/gopher/config.lua b/lua/gopher/config.lua index 32453b9..89af669 100644 --- a/lua/gopher/config.lua +++ b/lua/gopher/config.lua @@ -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", diff --git a/lua/gopher/gotests.lua b/lua/gopher/gotests.lua index 0ef52cc..83b6847 100644 --- a/lua/gopher/gotests.lua +++ b/lua/gopher/gotests.lua @@ -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