comparison src/testdir/test_assert.vim @ 22087:ff21e2962490 v8.2.1593

patch 8.2.1593: tests do not check the error number properly Commit: https://github.com/vim/vim/commit/e2e4075fad1326181edc5a131e48c644ef613693 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 4 21:18:46 2020 +0200 patch 8.2.1593: tests do not check the error number properly Problem: Tests do not check the error number properly.0 Solution: Add a colon after the error number. (closes https://github.com/vim/vim/issues/6869)
author Bram Moolenaar <Bram@vim.org>
date Fri, 04 Sep 2020 21:30:04 +0200
parents 08940efa6b4e
children c512e6f57ff2
comparison
equal deleted inserted replaced
22086:0fbcd63c0cc2 22087:ff21e2962490
339 339
340 func Test_override() 340 func Test_override()
341 call test_override('char_avail', 1) 341 call test_override('char_avail', 1)
342 eval 1->test_override('redraw') 342 eval 1->test_override('redraw')
343 call test_override('ALL', 0) 343 call test_override('ALL', 0)
344 call assert_fails("call test_override('xxx', 1)", 'E475') 344 call assert_fails("call test_override('xxx', 1)", 'E475:')
345 call assert_fails("call test_override('redraw', 'yes')", 'E474') 345 call assert_fails("call test_override('redraw', 'yes')", 'E474:')
346 endfunc 346 endfunc
347 347
348 func Test_mouse_position() 348 func Test_mouse_position()
349 let save_mouse = &mouse 349 let save_mouse = &mouse
350 set mouse=a 350 set mouse=a