aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-06-06 17:58:02 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-06-07 12:02:57 -0400
commite0d39d8e5330407be19575a6f57dde436a036df0 (patch)
tree4a3f7c47c9852326f37e7c1529affb326bf74476 /test
parent2d456f84d1f87ae9c8ca34db6c68b7d49b786193 (diff)
downloadrneovim-e0d39d8e5330407be19575a6f57dde436a036df0.tar.gz
rneovim-e0d39d8e5330407be19575a6f57dde436a036df0.tar.bz2
rneovim-e0d39d8e5330407be19575a6f57dde436a036df0.zip
vim-patch:8.0.0256: missing changes to one file breaks test
Problem: Tests fail because some changes were not included. Solution: Add changes to evalfunc.c https://github.com/vim/vim/commit/3a29abcb6154d9f55ca8abd6d97e5822b97ac4b3
Diffstat (limited to 'test')
-rw-r--r--test/functional/eval/setpos_spec.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/eval/setpos_spec.lua b/test/functional/eval/setpos_spec.lua
index 6a8b3a8732..935f387bcc 100644
--- a/test/functional/eval/setpos_spec.lua
+++ b/test/functional/eval/setpos_spec.lua
@@ -27,9 +27,8 @@ describe('setpos() function', function()
eq(getpos("."), {0, 2, 1, 0})
setpos(".", {2, 1, 1, 0})
eq(getpos("."), {0, 1, 1, 0})
- -- Ensure get an error attempting to set position to another buffer
local ret = exc_exec('call setpos(".", [1, 1, 1, 0])')
- eq('Vim(call):E474: Invalid argument', ret)
+ eq(0, ret)
end)
it('can set lowercase marks in the current buffer', function()
setpos("'d", {0, 2, 1, 0})