summaryrefslogtreecommitdiff
path: root/src/testdir/test_hardcopy.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-10-27 00:55:04 +0200
committerBram Moolenaar <Bram@vim.org>2017-10-27 00:55:04 +0200
commitcf1ba35fc2ebd41b9a7738bbd1f026f5311560aa (patch)
treec485902b799a521cf8675a11b8ab73a7745c86eb /src/testdir/test_hardcopy.vim
parent9ad89c6c4f89cd710d8244d8010b8b0ae30ba79d (diff)
downloadvim-git-cf1ba35fc2ebd41b9a7738bbd1f026f5311560aa.tar.gz
patch 8.0.1224: still interference between test functionsv8.0.1224
Problem: Still interference between test functions. Solution: Clear autocommands. Wipe all buffers. Fix tests that depend on a specific start context.
Diffstat (limited to 'src/testdir/test_hardcopy.vim')
-rw-r--r--src/testdir/test_hardcopy.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testdir/test_hardcopy.vim b/src/testdir/test_hardcopy.vim
index 07bb2479b..f630556be 100644
--- a/src/testdir/test_hardcopy.vim
+++ b/src/testdir/test_hardcopy.vim
@@ -50,6 +50,7 @@ endfunc
" We don't check much of the contents.
func Test_with_syntax()
if has('postscript')
+ edit test_hardcopy.vim
set printoptions=syntax:y
syn on
hardcopy > Xhardcopy