diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-10-19 17:01:28 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-10-19 17:01:28 +0200 |
commit | 00e192becd50a38cb21a1bc3f86fcc7a21f8ee88 (patch) | |
tree | 4776eda21d139fc8a4d051db196f43820e33fca0 /src/testdir/test_recover.vim | |
parent | b98678a974914aaf1d00b575364c13a6446353bf (diff) | |
download | vim-git-00e192becd50a38cb21a1bc3f86fcc7a21f8ee88.tar.gz |
patch 8.1.2180: Error E303 is not useful when 'directory' is emptyv8.1.2180
Problem: Error E303 is not useful when 'directory' is empty.
Solution: Skip the error message. (Daniel Hahler, #5067)
Diffstat (limited to 'src/testdir/test_recover.vim')
-rw-r--r-- | src/testdir/test_recover.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testdir/test_recover.vim b/src/testdir/test_recover.vim index a9934a162..a1c7bc4b0 100644 --- a/src/testdir/test_recover.vim +++ b/src/testdir/test_recover.vim @@ -12,6 +12,12 @@ func Test_recover_root_dir() set dir=/notexist/ endif call assert_fails('split Xtest', 'E303:') + + " No error with empty 'directory' setting. + set directory= + split XtestOK + close! + set dir& endfunc |