Mercurial > vim
comparison src/testdir/test_tagfunc.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 | 6a4806e326dd |
children | 4902263c302e |
comparison
equal
deleted
inserted
replaced
22086:0fbcd63c0cc2 | 22087:ff21e2962490 |
---|---|
71 | 71 |
72 func NullTagFunc(...) | 72 func NullTagFunc(...) |
73 return v:null | 73 return v:null |
74 endfunc | 74 endfunc |
75 set tags= tfu=NullTagFunc | 75 set tags= tfu=NullTagFunc |
76 call assert_fails('tag nothing', 'E433') | 76 call assert_fails('tag nothing', 'E433:') |
77 delf NullTagFunc | 77 delf NullTagFunc |
78 | 78 |
79 bwipe! | 79 bwipe! |
80 set tags& tfu& cpt& | 80 set tags& tfu& cpt& |
81 call delete('Xfile1') | 81 call delete('Xfile1') |