comparison src/testdir/test_buffer.vim @ 20041:3601e816a569 v8.2.0576

patch 8.2.0576: some errors are not covered by tests Commit: https://github.com/vim/vim/commit/067297e16a516838dbc46aaa9d8b1a507afec28d Author: Bram Moolenaar <Bram@vim.org> Date: Mon Apr 13 19:55:50 2020 +0200 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 https://github.com/vim/vim/issues/5920)
author Bram Moolenaar <Bram@vim.org>
date Mon, 13 Apr 2020 20:00:05 +0200
parents a653d1a165ef
children 55b3849ded11
comparison
equal deleted inserted replaced
20040:d67b1b782594 20041:3601e816a569
153 enew 153 enew
154 call assert_fails('bdelete ' .. bnr, 'E516:') 154 call assert_fails('bdelete ' .. bnr, 'E516:')
155 %bwipe! 155 %bwipe!
156 endfunc 156 endfunc
157 157
158 func Test_buffer_error()
159 new foo1
160 new foo2
161
162 call assert_fails('buffer foo', 'E93:')
163 call assert_fails('buffer bar', 'E94:')
164 call assert_fails('buffer 0', 'E939:')
165
166 %bwipe
167 endfunc
168
158 " vim: shiftwidth=2 sts=2 expandtab 169 " vim: shiftwidth=2 sts=2 expandtab