aboutsummaryrefslogtreecommitdiff
path: root/test/functional/core/startup_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-04-06 11:18:43 +0800
committerGitHub <noreply@github.com>2024-04-06 11:18:43 +0800
commitae28ef327e02ac87ef26f941c401312ed0462d8c (patch)
treedca68db1160d5d8657589298f17b4b5fe5553289 /test/functional/core/startup_spec.lua
parentddbd2b4e40d0b744d4d5b2b2251a4fc4c51f43e1 (diff)
downloadrneovim-ae28ef327e02ac87ef26f941c401312ed0462d8c.tar.gz
rneovim-ae28ef327e02ac87ef26f941c401312ed0462d8c.tar.bz2
rneovim-ae28ef327e02ac87ef26f941c401312ed0462d8c.zip
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
Diffstat (limited to 'test/functional/core/startup_spec.lua')
-rw-r--r--test/functional/core/startup_spec.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/core/startup_spec.lua b/test/functional/core/startup_spec.lua
index 512b79acc5..bd3db02874 100644
--- a/test/functional/core/startup_spec.lua
+++ b/test/functional/core/startup_spec.lua
@@ -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)