summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-11-25 17:24:09 +0100
committerBram Moolenaar <Bram@vim.org>2017-11-25 17:24:09 +0100
commit83799a7b7414048df4ff4e507293416e8438e225 (patch)
tree31b049754fa0af5407e420f8e21181d386927493
parent819edbe078c8579f3620d12dac830f12ccdc5a45 (diff)
patch 8.0.1339: no test for what 8.0.1335 fixesv8.0.1339
Problem: No test for what 8.0.1335 fixes. Solution: Add a test. (Yasuhiro Matsumoto, closes #2373)
-rw-r--r--src/testdir/test_writefile.vim8
-rw-r--r--src/version.c2
2 files changed, 10 insertions, 0 deletions
diff --git a/src/testdir/test_writefile.vim b/src/testdir/test_writefile.vim
index 9703323b07..b8e0001f71 100644
--- 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
index 8cce078998..32c83c8e1d 100644
--- 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,