Mercurial > vim
changeset 12926:98503d690368 v8.0.1339
patch 8.0.1339: no test for what 8.0.1335 fixes
commit https://github.com/vim/vim/commit/83799a7b7414048df4ff4e507293416e8438e225
Author: Bram Moolenaar <Bram@vim.org>
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)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 25 Nov 2017 17:30:05 +0100 |
parents | 37f9e67c7ee5 |
children | 43d31368dd38 |
files | src/testdir/test_writefile.vim src/version.c |
diffstat | 2 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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