mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.1.0119: failing test goes unnoticed because messages is not written
Problem: Failing test goes unnoticed because testdir/messages is not written. Solution: Set 'nomodifiable' only local to the buffer.
This commit is contained in:
parent
f52f9ea8f5
commit
ec12d64909
@ -62,7 +62,7 @@ endfunc
|
|||||||
|
|
||||||
func Test_put_fails_when_nomodifiable()
|
func Test_put_fails_when_nomodifiable()
|
||||||
new
|
new
|
||||||
set nomodifiable
|
setlocal nomodifiable
|
||||||
|
|
||||||
normal! yy
|
normal! yy
|
||||||
call assert_fails(':put', 'E21')
|
call assert_fails(':put', 'E21')
|
||||||
@ -85,7 +85,7 @@ endfunc
|
|||||||
" output duplicate error messages when invoked in a non-modifiable buffer.
|
" output duplicate error messages when invoked in a non-modifiable buffer.
|
||||||
func Test_put_p_errmsg_nodup()
|
func Test_put_p_errmsg_nodup()
|
||||||
new
|
new
|
||||||
set nomodifiable
|
setlocal nomodifiable
|
||||||
|
|
||||||
normal! yy
|
normal! yy
|
||||||
|
|
||||||
|
@ -789,6 +789,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
119,
|
||||||
/**/
|
/**/
|
||||||
118,
|
118,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user