fix: remove cover file (#107)

* fix: remove cover file

* fix: coverage notify message
This commit is contained in:
Nicolas Barbosa 2022-04-07 11:37:12 -03:00 committed by GitHub
parent ad8c1be169
commit 63d81679d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -296,7 +296,7 @@ M.run = function(...)
end
local lp = table.concat(lines, "\n")
vim.notify(string.format("test finished %s", vim.inspect(lp)), vim.lsp.log_levels.INFO)
vim.notify(string.format("test finished:\n %s", lp), vim.lsp.log_levels.INFO)
coverage = M.read_cov(cov)
vim.fn.setqflist({}, " ", {
title = cmd,
@ -304,8 +304,7 @@ M.run = function(...)
efm = vim.o.efm .. [[,]] .. require("go.gotest").efm(),
})
vim.api.nvim_command("doautocmd QuickFixCmdPost")
vim.cmd([[botright copen]])
-- vim.fn.delete(cov)
vim.fn.delete(cov)
end,
})
end