diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-04-06 11:18:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-06 11:18:43 +0800 |
commit | ae28ef327e02ac87ef26f941c401312ed0462d8c (patch) | |
tree | dca68db1160d5d8657589298f17b4b5fe5553289 /test/functional/api | |
parent | ddbd2b4e40d0b744d4d5b2b2251a4fc4c51f43e1 (diff) | |
download | rneovim-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/api')
-rw-r--r-- | test/functional/api/server_notifications_spec.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/api/server_notifications_spec.lua b/test/functional/api/server_notifications_spec.lua index d1608a951c..9b411c0c3f 100644 --- a/test/functional/api/server_notifications_spec.lua +++ b/test/functional/api/server_notifications_spec.lua @@ -6,6 +6,7 @@ local api = helpers.api local exec_lua = helpers.exec_lua local retry = helpers.retry local assert_alive = helpers.assert_alive +local check_close = helpers.check_close local testlog = 'Xtest-server-notify-log' @@ -18,6 +19,7 @@ describe('notify', function() end) after_each(function() + check_close() os.remove(testlog) end) |