diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-06-07 18:31:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-07 18:31:50 +0200 |
commit | db68d1d638e4986f7557877ea511e11990b5f4a3 (patch) | |
tree | 4612f98ae4d699ba61fae6cbcad5f71b3e884a18 /test/functional/eval/setpos_spec.lua | |
parent | 3abf17ae88e3048c20b1645b9d78b69566e89872 (diff) | |
parent | e0d39d8e5330407be19575a6f57dde436a036df0 (diff) | |
download | rneovim-db68d1d638e4986f7557877ea511e11990b5f4a3.tar.gz rneovim-db68d1d638e4986f7557877ea511e11990b5f4a3.tar.bz2 rneovim-db68d1d638e4986f7557877ea511e11990b5f4a3.zip |
Merge #8491 from janlazo/vim-8.0.0255
Diffstat (limited to 'test/functional/eval/setpos_spec.lua')
-rw-r--r-- | test/functional/eval/setpos_spec.lua | 3 |
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}) |