diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-07-11 22:49:59 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-07-11 22:49:59 +0200 |
commit | ecdd14a427108aa6f133c00655788f6ae80ad463 (patch) | |
tree | c71ee2e87f0033a876170ceb824a8c508e4cf293 /src/testdir/test_lua.vim | |
parent | 2b6ef856fb89f703714f3f1f567d9bd7c81079f3 (diff) | |
download | vim-git-ecdd14a427108aa6f133c00655788f6ae80ad463.tar.gz |
patch 8.2.1185: some other tests failv8.2.1185
Problem: Some other tests fail.
Solution: Adjust tests for different assert_fails() behavior.
Diffstat (limited to 'src/testdir/test_lua.vim')
-rw-r--r-- | src/testdir/test_lua.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_lua.vim b/src/testdir/test_lua.vim index 38ff87205..136649eac 100644 --- a/src/testdir/test_lua.vim +++ b/src/testdir/test_lua.vim @@ -184,7 +184,7 @@ func Test_lua_call() call assert_fails("call luaeval('vim.call(\"type\", co)')", \ '[string "luaeval"]:1: lua: cannot convert value') lua co = nil - call assert_fails("call luaeval('vim.call(\"abc\")')", '[string "luaeval"]:1: lua: call_vim_function failed') + call assert_fails("call luaeval('vim.call(\"abc\")')", ['E117:', '\[string "luaeval"]:1: lua: call_vim_function failed']) endfunc " Test vim.fn.* @@ -637,7 +637,7 @@ func Test_lua_funcref() call assert_fails('lua f1 = vim.funcref(fname)', \ "[string \"vim chunk\"]:1: bad argument #1 to 'funcref' (string expected, got nil)") call assert_fails('lua vim.funcref("abc")()', - \ '[string "vim chunk"]:1: cannot call funcref') + \ ['E117:', '\[string "vim chunk"]:1: cannot call funcref']) " dict funcref function Mylen() dict |