Mercurial > vim
comparison src/testdir/test_messages.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 | c087099e9163 |
children | 831b1ea43020 |
comparison
equal
deleted
inserted
replaced
20040:d67b1b782594 | 20041:3601e816a569 |
---|---|
38 redir END | 38 redir END |
39 call assert_equal('', result) | 39 call assert_equal('', result) |
40 finally | 40 finally |
41 let &more = oldmore | 41 let &more = oldmore |
42 endtry | 42 endtry |
43 | |
44 call assert_fails('message 1', 'E474:') | |
43 endfunction | 45 endfunction |
44 | 46 |
45 " Patch 7.4.1696 defined the "clearmode()" function for clearing the mode | 47 " Patch 7.4.1696 defined the "clearmode()" function for clearing the mode |
46 " indicator (e.g., "-- INSERT --") when ":stopinsert" is invoked. Message | 48 " indicator (e.g., "-- INSERT --") when ":stopinsert" is invoked. Message |
47 " output could then be disturbed when 'cmdheight' was greater than one. | 49 " output could then be disturbed when 'cmdheight' was greater than one. |