Mercurial > vim
comparison src/testdir/test_signs.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 | 125051dff419 |
children | cb0868062915 |
comparison
equal
deleted
inserted
replaced
22086:0fbcd63c0cc2 | 22087:ff21e2962490 |
---|---|
1992 call assert_equal([], []->sign_unplacelist()) | 1992 call assert_equal([], []->sign_unplacelist()) |
1993 call assert_fails('call sign_unplacelist({})', "E714:") | 1993 call assert_fails('call sign_unplacelist({})', "E714:") |
1994 call assert_fails('call sign_unplacelist([[]])', "E715:") | 1994 call assert_fails('call sign_unplacelist([[]])', "E715:") |
1995 call assert_fails('call sign_unplacelist(["abc"])', "E715:") | 1995 call assert_fails('call sign_unplacelist(["abc"])', "E715:") |
1996 call assert_fails('call sign_unplacelist([100])', "E715:") | 1996 call assert_fails('call sign_unplacelist([100])', "E715:") |
1997 call assert_fails("call sign_unplacelist([{'id' : -1}])", 'E474') | 1997 call assert_fails("call sign_unplacelist([{'id' : -1}])", 'E474:') |
1998 | 1998 |
1999 call assert_equal([0, 0, 0, 0], | 1999 call assert_equal([0, 0, 0, 0], |
2000 \ sign_undefine(['sign1', 'sign2', 'sign3', 'sign4'])) | 2000 \ sign_undefine(['sign1', 'sign2', 'sign3', 'sign4'])) |
2001 call assert_equal([], sign_getdefined()) | 2001 call assert_equal([], sign_getdefined()) |
2002 | 2002 |