comparison src/testdir/test_hardcopy.vim @ 11467:9ca1c9997863 v8.0.0617

patch 8.0.0617: hardcopy test hangs on MS-Windows commit https://github.com/vim/vim/commit/763209c57bf50ae777f9c2929eeea01eff7ae6ee Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 4 21:40:36 2017 +0200 patch 8.0.0617: hardcopy test hangs on MS-Windows Problem: Hardcopy test hangs on MS-Windows. Solution: Check the postscript feature is supported.
author Christian Brabandt <cb@256bit.org>
date Sun, 04 Jun 2017 21:45:03 +0200
parents 6fff8b86e9bd
children 03a6aeea2096
comparison
equal deleted inserted replaced
11466:0e0fc3272dd9 11467:9ca1c9997863
60 set printoptions& 60 set printoptions&
61 endif 61 endif
62 endfunc 62 endfunc
63 63
64 func Test_fname_with_spaces() 64 func Test_fname_with_spaces()
65 split t\ e\ s\ t.txt 65 if has('postscript')
66 call setline(1, ['just', 'some', 'text']) 66 split t\ e\ s\ t.txt
67 hardcopy > %.ps 67 call setline(1, ['just', 'some', 'text'])
68 call assert_true(filereadable('t e s t.txt.ps')) 68 hardcopy > %.ps
69 call delete('t e s t.txt.ps') 69 call assert_true(filereadable('t e s t.txt.ps'))
70 bwipe! 70 call delete('t e s t.txt.ps')
71 bwipe!
72 endif
71 endfunc 73 endfunc