mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Improve test_eval.in
The old version required to change the range given to :w for each new test. Now a new buffer is used instead.
This commit is contained in:
parent
abecd0f394
commit
8a729897f4
@ -1,5 +1,8 @@
|
||||
STARTTEST
|
||||
|
||||
:e test.out
|
||||
:%d
|
||||
|
||||
:" function name not starting with a capital
|
||||
:try
|
||||
: func! g:test()
|
||||
@ -46,8 +49,9 @@ STARTTEST
|
||||
: $put =v:exception
|
||||
:endtry
|
||||
|
||||
:$-10,$w! test.out
|
||||
:q!
|
||||
:1d
|
||||
:w
|
||||
:qa!
|
||||
|
||||
ENDTEST
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user