1
0
forked from aniani/vim

patch 8.2.0576: some errors are not covered by tests

Problem:    Some errors are not covered by tests.
Solution:   Add a few more tests. (Dominique Pelle, closes #5920)
This commit is contained in:
Bram Moolenaar
2020-04-13 19:55:50 +02:00
parent e3242346cf
commit 067297e16a
5 changed files with 19 additions and 0 deletions

View File

@@ -155,4 +155,15 @@ func Test_bdelete_cmd()
%bwipe!
endfunc
func Test_buffer_error()
new foo1
new foo2
call assert_fails('buffer foo', 'E93:')
call assert_fails('buffer bar', 'E94:')
call assert_fails('buffer 0', 'E939:')
%bwipe
endfunc
" vim: shiftwidth=2 sts=2 expandtab