diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2014-09-16 23:28:35 -0400 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2014-09-16 23:28:35 -0400 |
| commit | 8249e4ac72b54d00addb597a124d0f55566b2466 (patch) | |
| tree | d7eea141a3e0025fa0382fd8cc469963e5d5c3cc /src/nvim/testdir | |
| parent | 8d6540f8764c4a691e22890258599d74b43b52e6 (diff) | |
| parent | e32d338c87957e7fddcaa1c3393268663a171617 (diff) | |
| download | rneovim-8249e4ac72b54d00addb597a124d0f55566b2466.tar.gz rneovim-8249e4ac72b54d00addb597a124d0f55566b2466.tar.bz2 rneovim-8249e4ac72b54d00addb597a124d0f55566b2466.zip | |
Merge pull request #919 from munshkr/p7.4.310
vim-patch:7.4.310, vim-patch:7.4.313
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_eval.in | 21 | ||||
| -rw-r--r-- | src/nvim/testdir/test_eval.ok | 2 |
2 files changed, 17 insertions, 6 deletions
diff --git a/src/nvim/testdir/test_eval.in b/src/nvim/testdir/test_eval.in index c34f5cb50e..a29fefc3b6 100644 --- a/src/nvim/testdir/test_eval.in +++ b/src/nvim/testdir/test_eval.in @@ -1,7 +1,7 @@ STARTTEST - -:e test.out -:%d +:so small.vim +:set encoding=latin1 +:set noswapfile :" function name not starting with a capital :try @@ -49,9 +49,18 @@ STARTTEST : $put =v:exception :endtry -:1d -:w -:qa! +:$put ='{{{1 getcurpos/setpos' +/^012345678 +6l:let sp = getcurpos() +0:call setpos('.', sp) +jyl:$put +:/^start:/+1,$wq! test.out +:" vim: et ts=4 isk-=\: fmr=???,??? +:call getchar() ENDTEST +012345678 +012345678 + +start: diff --git a/src/nvim/testdir/test_eval.ok b/src/nvim/testdir/test_eval.ok index 162e1b12fd..63b9156442 100644 --- a/src/nvim/testdir/test_eval.ok +++ b/src/nvim/testdir/test_eval.ok @@ -9,3 +9,5 @@ func s:Testje exists: 1 Bar exists: 1 func Bar exists: 1 Vim(call):E116: Invalid arguments for function append +{{{1 getcurpos/setpos +6 |