From accc411a6193f2ce71ce934d930e9c364fcc15d9 Mon Sep 17 00:00:00 2001 From: Fredrik Averpil Date: Mon, 22 Jul 2024 16:54:15 +0200 Subject: [PATCH] chore: add logs --- lua/neotest-golang/process.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/neotest-golang/process.lua b/lua/neotest-golang/process.lua index 06be55ce..9bde4b12 100644 --- a/lua/neotest-golang/process.lua +++ b/lua/neotest-golang/process.lua @@ -80,8 +80,9 @@ function M.test_results(spec, result, tree) raw_output = async.fn.readfile(context.test_output_json_filepath) end + logger.debug({ "Raw output from readfile", raw_output }) local cleaned_table = lib.strip.cleanTable(raw_output) - logger.debug({ "Table stripped from ansi codes", cleaned_table }) + logger.debug({ "Table should be stripped from ansi codes", cleaned_table }) local gotest_output = lib.json.decode_from_table(raw_output) logger.debug({ "Table JSON-decoded", gotest_output })