fix: adjust error message for error in UI event callback (#28200)

Also close Nvim instance before removing log file, otherwise the Nvim
instance will still write to the log file.

Also adjust log level in libuv_process_spawn(). Ref #27660
This commit is contained in:
zeertzjq
2024-04-06 11:18:43 +08:00
committed by GitHub
parent ddbd2b4e40
commit ae28ef327e
9 changed files with 41 additions and 2 deletions

View File

@@ -32,6 +32,7 @@ local dedent = helpers.dedent
local tbl_map = vim.tbl_map
local tbl_filter = vim.tbl_filter
local endswith = vim.endswith
local check_close = helpers.check_close
local testlog = 'Xtest-startupspec-log'
@@ -116,6 +117,7 @@ describe('startup', function()
before_each(clear)
after_each(function()
check_close()
os.remove(testlog)
end)