mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
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:
@@ -14,6 +14,7 @@ local nvim_prog = helpers.nvim_prog
|
||||
local retry = helpers.retry
|
||||
local write_file = helpers.write_file
|
||||
local assert_log = helpers.assert_log
|
||||
local check_close = helpers.check_close
|
||||
local is_os = helpers.is_os
|
||||
|
||||
local testlog = 'Xtest-embed-log'
|
||||
@@ -98,6 +99,7 @@ end)
|
||||
|
||||
describe('--embed UI', function()
|
||||
after_each(function()
|
||||
check_close()
|
||||
os.remove(testlog)
|
||||
end)
|
||||
|
||||
|
Reference in New Issue
Block a user