diff options
author | Daniel Hahler <git@thequod.de> | 2019-08-15 19:08:47 +0200 |
---|---|---|
committer | Daniel Hahler <git@thequod.de> | 2019-08-20 04:54:29 +0200 |
commit | b2c354bb0767faf281f61549d3bb0961ca42da9e (patch) | |
tree | 165f9a753e1e2a16fdb933521a7e1ec5ad88d5b6 /test | |
parent | 9e04e19574e7cb5b0dec132ff7260419da44d36f (diff) | |
download | rneovim-b2c354bb0767faf281f61549d3bb0961ca42da9e.tar.gz rneovim-b2c354bb0767faf281f61549d3bb0961ca42da9e.tar.bz2 rneovim-b2c354bb0767faf281f61549d3bb0961ca42da9e.zip |
tests: screen: notification_cb: improve assertion message
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/ui/screen.lua | 3 |
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 |