mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
tests: screen: notification_cb: improve assertion message
This commit is contained in:
parent
6bb24b45f8
commit
222717c95c
@ -500,7 +500,8 @@ function Screen:_wait(check, flags)
|
||||
local did_miminal_timeout = false
|
||||
|
||||
local function notification_cb(method, args)
|
||||
assert(method == 'redraw')
|
||||
assert(method == 'redraw', string.format(
|
||||
'notification_cb: unexpected method (%s, args=%s)', method, inspect(args)))
|
||||
did_flush = self:_redraw(args)
|
||||
if not did_flush then
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user