diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-11-25 17:24:09 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-11-25 17:24:09 +0100 |
commit | 83799a7b7414048df4ff4e507293416e8438e225 (patch) | |
tree | 31b049754fa0af5407e420f8e21181d386927493 /src/testdir/test_writefile.vim | |
parent | 819edbe078c8579f3620d12dac830f12ccdc5a45 (diff) | |
download | vim-git-83799a7b7414048df4ff4e507293416e8438e225.tar.gz |
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)
Diffstat (limited to 'src/testdir/test_writefile.vim')
-rw-r--r-- | src/testdir/test_writefile.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/testdir/test_writefile.vim b/src/testdir/test_writefile.vim index 9703323b0..b8e0001f7 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 |