aboutsummaryrefslogtreecommitdiff
path: root/test/helpers.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2018-08-27 16:02:22 +0200
committerGitHub <noreply@github.com>2018-08-27 16:02:22 +0200
commitdee0d7f4e9b8a681cf4f3761d886081f3b851b7a (patch)
tree241711e8f052f02b0e465a42f6d47af302c8743b /test/helpers.lua
parenta8b4d76a0a2c59a3a368932ae111265c15b8dccb (diff)
parent3d88287e3016aacae64e2ddcd11a37e024557e45 (diff)
downloadrneovim-dee0d7f4e9b8a681cf4f3761d886081f3b851b7a.tar.gz
rneovim-dee0d7f4e9b8a681cf4f3761d886081f3b851b7a.tar.bz2
rneovim-dee0d7f4e9b8a681cf4f3761d886081f3b851b7a.zip
Merge pull request #8891 from bfredl/keyexpect
use keyword args for screen:expect{...} + hl fixup for ext_cmdline
Diffstat (limited to 'test/helpers.lua')
-rw-r--r--test/helpers.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/helpers.lua b/test/helpers.lua
index 66724f6a78..22b5c68735 100644
--- a/test/helpers.lua
+++ b/test/helpers.lua
@@ -45,8 +45,8 @@ local check_logs_useless_lines = {
['See README_MISSING_SYSCALL_OR_IOCTL for guidance']=3,
}
-local function eq(expected, actual)
- return assert.are.same(expected, actual)
+local function eq(expected, actual, ctx)
+ return assert.are.same(expected, actual, ctx)
end
local function neq(expected, actual)
return assert.are_not.same(expected, actual)