aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-08-15 19:08:47 +0200
committerDaniel Hahler <git@thequod.de>2019-08-20 19:24:57 +0200
commit222717c95cb6cd840c74ca9b1f7ac66264df187f (patch)
tree80557f9d88db7992fc68bd82359155318ef07fb2
parent6bb24b45f8f3f52990c8d49cbd6acd40edd8cbb0 (diff)
downloadrneovim-222717c95cb6cd840c74ca9b1f7ac66264df187f.tar.gz
rneovim-222717c95cb6cd840c74ca9b1f7ac66264df187f.tar.bz2
rneovim-222717c95cb6cd840c74ca9b1f7ac66264df187f.zip
tests: screen: notification_cb: improve assertion message
-rw-r--r--test/functional/ui/screen.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua
index df0fce4199..3b39794465 100644
--- a/test/functional/ui/screen.lua
+++ b/test/functional/ui/screen.lua
@@ -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