diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2018-08-20 18:51:25 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2018-08-27 15:15:49 +0200 |
commit | 3d88287e3016aacae64e2ddcd11a37e024557e45 (patch) | |
tree | 241711e8f052f02b0e465a42f6d47af302c8743b /test/helpers.lua | |
parent | 03978a0f296aa8638a578698ea0a6cceedb34527 (diff) | |
download | rneovim-3d88287e3016aacae64e2ddcd11a37e024557e45.tar.gz rneovim-3d88287e3016aacae64e2ddcd11a37e024557e45.tar.bz2 rneovim-3d88287e3016aacae64e2ddcd11a37e024557e45.zip |
tests: introduce screen:expect{...} form
Diffstat (limited to 'test/helpers.lua')
-rw-r--r-- | test/helpers.lua | 4 |
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) |