# HG changeset patch # User Christian Brabandt # Date 1511627405 -3600 # Node ID 98503d690368e33350bafc646aad73a0d0a7351a # Parent 37f9e67c7ee59107f01d363a021a8689ba509d69 patch 8.0.1339: no test for what 8.0.1335 fixes commit https://github.com/vim/vim/commit/83799a7b7414048df4ff4e507293416e8438e225 Author: Bram Moolenaar Date: Sat Nov 25 17:24:09 2017 +0100 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 https://github.com/vim/vim/issues/2373) diff --git a/src/testdir/test_writefile.vim b/src/testdir/test_writefile.vim --- a/src/testdir/test_writefile.vim +++ b/src/testdir/test_writefile.vim @@ -100,3 +100,11 @@ func Test_writefile_sync_arg() call writefile(['two'], 'Xtest', 'S') call delete('Xtest') 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 diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -772,6 +772,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1339, +/**/ 1338, /**/ 1337,