vim-patch:83799a7b7

patch 8.0.1339: no test for what 8.0.1335 fixes

Problem:    No test for what 8.0.1335 fixes.
Solution:   Add a test. (Yasuhiro Matsumoto, closes vim/vim#2373)
83799a7b74
This commit is contained in:
Daniel Hahler 2019-06-08 10:53:43 +02:00
parent 17528fff0c
commit 5972ff0056

View File

@ -155,3 +155,11 @@ func Test_writefile_autowrite_nowrite()
bwipe!
set noautowrite
endfunc
func Test_writefile_sync_dev_stdout()
if !has('unix')
return
endif
" Just check that this doesn't cause an error.
call writefile(['one'], '/dev/stdout')
endfunc