vim-patch:8.2.0426: some errors were not tested for

Problem:    Some errors were not tested for.
Solution:   Add tests. (Dominique Pelle, closes vim/vim#5824)
9b9be007e7

Cherry-pick get_highest_fnum() from patch 8.1.1908 to make tests pass.
This commit is contained in:
zeertzjq
2022-07-15 11:43:42 +08:00
parent 7b5b7b3cc6
commit a649af4dba
5 changed files with 49 additions and 7 deletions

View File

@@ -146,6 +146,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