aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-06-08 10:53:43 +0200
committerDaniel Hahler <git@thequod.de>2019-06-08 10:53:48 +0200
commit5972ff00560b497de4cfe51d529b0c5aa9dd4fad (patch)
treea3ecf670a45b3357900be58511c54957f76cc9f9 /src
parent17528fff0c97038e38a6791c02002b36b98e743a (diff)
downloadrneovim-5972ff00560b497de4cfe51d529b0c5aa9dd4fad.tar.gz
rneovim-5972ff00560b497de4cfe51d529b0c5aa9dd4fad.tar.bz2
rneovim-5972ff00560b497de4cfe51d529b0c5aa9dd4fad.zip
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) https://github.com/vim/vim/commit/83799a7b7414048df4ff4e507293416e8438e225
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_writefile.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_writefile.vim b/src/nvim/testdir/test_writefile.vim
index aeee6ad88b..83047d613f 100644
--- a/src/nvim/testdir/test_writefile.vim
+++ b/src/nvim/testdir/test_writefile.vim
@@ -155,3 +155,11 @@ func Test_writefile_autowrite_nowrite()
bwipe!
set noautowrite
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