1
0
forked from aniani/vim

patch 8.2.0426: some errors were not tested for

Problem:    Some errors were not tested for.
Solution:   Add tests. (Dominique Pelle, closes #5824)
This commit is contained in:
Bram Moolenaar
2020-03-22 14:41:22 +01:00
parent 515545e11f
commit 9b9be007e7
6 changed files with 47 additions and 3 deletions

View File

@@ -144,6 +144,7 @@ endfunc
func Test_bdelete_cmd()
%bwipe!
call assert_fails('bdelete 5', 'E516:')
call assert_fails('1,1bdelete 1 2', 'E488:')
" Deleting a unlisted and unloaded buffer
edit Xfile1