aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_writefile.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-12 08:28:56 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-07-12 14:08:34 +0800
commitd079995fb81bf3d61f7698373442f61476b99fce (patch)
tree27df065f0a9d2b58d90ad17a4cdea751a0b12156 /src/nvim/testdir/test_writefile.vim
parent6a670a00b3553a3ad87ddc6dfd06725796f58f1e (diff)
downloadrneovim-d079995fb81bf3d61f7698373442f61476b99fce.tar.gz
rneovim-d079995fb81bf3d61f7698373442f61476b99fce.tar.bz2
rneovim-d079995fb81bf3d61f7698373442f61476b99fce.zip
vim-patch:8.2.0270: some code not covered by tests
Problem: Some code not covered by tests. Solution: Add test cases. (Yegappan Lakshmanan, closes vim/vim#5649) https://github.com/vim/vim/commit/bc2b71d44a0b90b6aeb3534a76912fccbe5577df
Diffstat (limited to 'src/nvim/testdir/test_writefile.vim')
-rw-r--r--src/nvim/testdir/test_writefile.vim4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/testdir/test_writefile.vim b/src/nvim/testdir/test_writefile.vim
index d598bfeac8..bfbba1f793 100644
--- a/src/nvim/testdir/test_writefile.vim
+++ b/src/nvim/testdir/test_writefile.vim
@@ -207,9 +207,7 @@ func Test_write_errors()
close!
call assert_fails('w > Xtest', 'E494:')
-
- call assert_fails('w > Xtest', 'E494:')
-
+
" Try to overwrite a directory
if has('unix')
call mkdir('Xdir1')