fix: remove cover file (#107)

* fix: remove cover file

* fix: coverage notify message
pull/119/head
Nicolas Barbosa 2 years ago committed by GitHub
parent ad8c1be169
commit 63d81679d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save