summaryrefslogtreecommitdiff
path: root/src/testdir/test_writefile.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-12 22:15:19 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-12 22:15:19 +0100
commit4f5776c17cd86f904a7e2f92db297c73e28939b7 (patch)
tree6085e8230e216a7d78b99b39d14bd667a45474cf /src/testdir/test_writefile.vim
parent3fb377fa78131004138b22a87afe33eeb7649b94 (diff)
downloadvim-git-4f5776c17cd86f904a7e2f92db297c73e28939b7.tar.gz
patch 8.2.0250: test_clear_search_pat() is unusedv8.2.0250
Problem: test_clear_search_pat() is unused. Solution: Remove the function. (Yegappan Lakshmanan, closes #5624)
Diffstat (limited to 'src/testdir/test_writefile.vim')
-rw-r--r--src/testdir/test_writefile.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/test_writefile.vim b/src/testdir/test_writefile.vim
index 98a06eb01..f616980f3 100644
--- a/src/testdir/test_writefile.vim
+++ b/src/testdir/test_writefile.vim
@@ -214,6 +214,10 @@ func Test_write_errors()
call assert_fails('1,2write', 'E140:')
close!
+ call assert_fails('w > Xtest', 'E494:')
+
+ call assert_fails('w > Xtest', 'E494:')
+
" Try to overwrite a directory
if has('unix')
call mkdir('Xdir1')