Merge #10141 from blueyed/vim-8.0.1335

vim-patch:8.0.{1335,1339,1744}
This commit is contained in:
Justin M. Keyes
2019-06-08 13:09:35 +02:00
committed by GitHub

View File

@@ -155,3 +155,15 @@ func Test_writefile_autowrite_nowrite()
bwipe!
set noautowrite
endfunc
func Test_writefile_sync_dev_stdout()
if !has('unix')
return
endif
if filewritable('/dev/stdout')
" Just check that this doesn't cause an error.
call writefile(['one'], '/dev/stdout', 's')
else
throw 'Skipped: /dev/stdout is not writable'
endif
endfunc