diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-05-28 20:31:42 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-05-28 20:31:42 +0200 |
commit | 6f6c0f8085a5b0855f9dce8378086fd5e06a219b (patch) | |
tree | b767d281763aba34c4412a442f8d09b77312daf2 /src/testdir/test_eval.in | |
parent | 2d1fe05fc06a91886635680886c200ad90f0abd7 (diff) | |
download | vim-6f6c0f8085a5b0855f9dce8378086fd5e06a219b.zip |
updated for version 7.4.313
Problem: Changing the return value of getpos() causes an error. (Jie Zhu)
Solution: Revert getpos() and add getcurpos().
Diffstat (limited to 'src/testdir/test_eval.in')
-rw-r--r-- | src/testdir/test_eval.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_eval.in b/src/testdir/test_eval.in index 5a466d402..cd605af56 100644 --- a/src/testdir/test_eval.in +++ b/src/testdir/test_eval.in @@ -190,9 +190,9 @@ endfun :$put =v:exception :endtry :" -:$put ='{{{1 setpos/getpos' +:$put ='{{{1 getcurpos/setpos' /^012345678 -6l:let sp = getpos('.') +6l:let sp = getcurpos() 0:call setpos('.', sp) jyl:$put :" |