aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/testdir/test_eval.in8
1 files 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