aboutsummaryrefslogtreecommitdiff
path: root/test/functional/helpers.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r--test/functional/helpers.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index 84e81c5af4..0f30910450 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -392,11 +392,9 @@ end
-- sleeps the test runner (_not_ the nvim instance)
local function sleep(ms)
- local function notification_cb(method, args)
- local _ = args
+ local function notification_cb(method, _)
if method == "redraw" then
- error("helpers.sleep() called while screen is attached. "..
- "Use screen:sleep(...) instead")
+ error("Screen is attached; use screen:sleep() instead.")
end
return true
end