diff options
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r-- | test/functional/helpers.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua index db90cb559f..a94e977cd0 100644 --- a/test/functional/helpers.lua +++ b/test/functional/helpers.lua @@ -757,6 +757,14 @@ return function(after_each) end check_logs() check_cores('build/bin/nvim') + if session then + local msg = session:next_message(0) + if msg then + if msg[1] == "notification" and msg[2] == "nvim_error_event" then + error(msg[3][2]) + end + end + end end) end return module |