Skip to content

Commit 5972ff0

Browse files
committed
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) vim/vim@83799a7
1 parent 17528ff commit 5972ff0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/nvim/testdir/test_writefile.vim

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,3 +155,11 @@ func Test_writefile_autowrite_nowrite()
155155
bwipe!
156156
set noautowrite
157157
endfunc
158+
159+
func Test_writefile_sync_dev_stdout()
160+
if !has('unix')
161+
return
162+
endif
163+
" Just check that this doesn't cause an error.
164+
call writefile(['one'], '/dev/stdout')
165+
endfunc

0 commit comments

Comments
 (0)