Skip to content

Commit 83799a7

Browse files
committed
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 #2373)
1 parent 819edbe commit 83799a7

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

src/testdir/test_writefile.vim

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,11 @@ func Test_writefile_sync_arg()
100100
call writefile(['two'], 'Xtest', 'S')
101101
call delete('Xtest')
102102
endfunc
103+
104+
func Test_writefile_sync_dev_stdout()
105+
if !has('unix')
106+
return
107+
endif
108+
" Just check that this doesn't cause an error.
109+
call writefile(['one'], '/dev/stdout')
110+
endfunc

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,8 @@ static char *(features[]) =
771771

772772
static int included_patches[] =
773773
{ /* Add new patch number below this line */
774+
/**/
775+
1339,
774776
/**/
775777
1338,
776778
/**/

0 commit comments

Comments
 (0)