blob: aa291b1294a39813daa3466abea7c454bf6c4352 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
" Test :recover
func Test_recover_root_dir()
" This used to access invalid memory.
split Xtest
set dir=/
call assert_fails('recover', 'E305:')
close!
call assert_fails('split Xtest', 'E303:')
set dir&
endfunc
" TODO: move recover tests from test78.in to here.
|