mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
commit
faec6fcc6a
@ -155,3 +155,15 @@ func Test_writefile_autowrite_nowrite()
|
|||||||
bwipe!
|
bwipe!
|
||||||
set noautowrite
|
set noautowrite
|
||||||
endfunc
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user