From 8a729897f433f2e11450f48d57dc38ad7ef0c73a Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Fri, 2 May 2014 13:15:01 +0200 Subject: 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. --- src/testdir/test_eval.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/testdir/test_eval.in b/src/testdir/test_eval.in index edf4fe437b..c34f5cb50e 100644 --- a/src/testdir/test_eval.in +++ b/src/testdir/test_eval.in @@ -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 -- cgit