summaryrefslogtreecommitdiff
path: root/src/testdir/test_recover.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_recover.vim')
-rw-r--r--src/testdir/test_recover.vim6
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