mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 16:08:36 +00:00
vim-patch:8.0.0617: hardcopy test hangs on MS-Windows
Problem: Hardcopy test hangs on MS-Windows.
Solution: Check the postscript feature is supported.
763209c57b
This commit is contained in:
@@ -63,10 +63,12 @@ func Test_with_syntax()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_fname_with_spaces()
|
func Test_fname_with_spaces()
|
||||||
split t\ e\ s\ t.txt
|
if has('postscript')
|
||||||
call setline(1, ['just', 'some', 'text'])
|
split t\ e\ s\ t.txt
|
||||||
hardcopy > %.ps
|
call setline(1, ['just', 'some', 'text'])
|
||||||
call assert_true(filereadable('t e s t.txt.ps'))
|
hardcopy > %.ps
|
||||||
call delete('t e s t.txt.ps')
|
call assert_true(filereadable('t e s t.txt.ps'))
|
||||||
bwipe!
|
call delete('t e s t.txt.ps')
|
||||||
|
bwipe!
|
||||||
|
endif
|
||||||
endfunc
|
endfunc
|
||||||
|
Reference in New Issue
Block a user