From 3d830ec816ea88d4a8f5f263130c3c878ca6d828 Mon Sep 17 00:00:00 2001 From: Fredrik Averpil Date: Tue, 23 Jul 2024 09:46:14 +0200 Subject: [PATCH] chore: remove debug logging --- lua/neotest-golang/process.lua | 3 +-- lua/neotest-golang/runspec/dir.lua | 1 - lua/neotest-golang/runspec/file.lua | 1 - lua/neotest-golang/runspec/namespace.lua | 1 - lua/neotest-golang/runspec/test.lua | 1 - 5 files changed, 1 insertion(+), 6 deletions(-) diff --git a/lua/neotest-golang/process.lua b/lua/neotest-golang/process.lua index 791c566e..fbf8444b 100644 --- a/lua/neotest-golang/process.lua +++ b/lua/neotest-golang/process.lua @@ -131,8 +131,7 @@ function M.test_results(spec, result, tree) end -- DEBUG: enable the following to see the final Neotest result. - -- logger.debug(vim.inspect(res)) - -- logger.debug(vim.inspect(neotest_result)) + -- logger.debug(vim.inspect(neotest_results)) return neotest_result end diff --git a/lua/neotest-golang/runspec/dir.lua b/lua/neotest-golang/runspec/dir.lua index 237d0ac6..84a21e4f 100644 --- a/lua/neotest-golang/runspec/dir.lua +++ b/lua/neotest-golang/runspec/dir.lua @@ -57,7 +57,6 @@ function M.build(pos) context = context, } - logger.debug({ "RunSpec:", run_spec }) return run_spec end diff --git a/lua/neotest-golang/runspec/file.lua b/lua/neotest-golang/runspec/file.lua index 531304ec..2d30d855 100644 --- a/lua/neotest-golang/runspec/file.lua +++ b/lua/neotest-golang/runspec/file.lua @@ -71,7 +71,6 @@ function M.build(pos, tree) context = context, } - logger.debug({ "RunSpec:", run_spec }) return run_spec end diff --git a/lua/neotest-golang/runspec/namespace.lua b/lua/neotest-golang/runspec/namespace.lua index 4165ea46..80b9c521 100644 --- a/lua/neotest-golang/runspec/namespace.lua +++ b/lua/neotest-golang/runspec/namespace.lua @@ -38,7 +38,6 @@ function M.build(pos) context = context, } - logger.debug({ "RunSpec:", run_spec }) return run_spec end diff --git a/lua/neotest-golang/runspec/test.lua b/lua/neotest-golang/runspec/test.lua index b9a3a058..3bcd3375 100644 --- a/lua/neotest-golang/runspec/test.lua +++ b/lua/neotest-golang/runspec/test.lua @@ -54,7 +54,6 @@ function M.build(pos, strategy) run_spec.context.parse_test_results = false end - logger.debug({ "RunSpec:", run_spec }) return run_spec end