Mercurial > vim
comparison src/testdir/test_taglist.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 | 08e3eee541ac |
comparison
equal
deleted
inserted
replaced
22086:0fbcd63c0cc2 | 22087:ff21e2962490 |
---|---|
81 call delete('Xtags') | 81 call delete('Xtags') |
82 set tags& | 82 set tags& |
83 endfunc | 83 endfunc |
84 | 84 |
85 func Test_tags_too_long() | 85 func Test_tags_too_long() |
86 call assert_fails('tag ' . repeat('x', 1020), ['E433', 'E426']) | 86 call assert_fails('tag ' . repeat('x', 1020), ['E433:', 'E426:']) |
87 tags | 87 tags |
88 endfunc | 88 endfunc |
89 | 89 |
90 func Test_tagfiles() | 90 func Test_tagfiles() |
91 call assert_equal([], tagfiles()) | 91 call assert_equal([], tagfiles()) |