forked from aniani/vim
patch 8.2.3136: no test for E187 and "No swap file"
Problem: No test for E187 and "No swap file". Solution: Add a test. (Dominique Pellé, closes #8540)
This commit is contained in:
committed by
Bram Moolenaar
parent
5b73992d8f
commit
fe3418abe0
@@ -574,4 +574,8 @@ func Test_swapchoice()
|
||||
augroup! test_swapchoice
|
||||
endfunc
|
||||
|
||||
func Test_no_swap_file()
|
||||
call assert_equal("\nNo swap file", execute('swapname'))
|
||||
endfunc
|
||||
|
||||
" vim: shiftwidth=2 sts=2 expandtab
|
||||
|
||||
Reference in New Issue
Block a user