Skip to content

Commit ec12d64

Browse files
committed
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.
1 parent f52f9ea commit ec12d64

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/testdir/test_put.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ endfunc
6262

6363
func Test_put_fails_when_nomodifiable()
6464
new
65-
set nomodifiable
65+
setlocal nomodifiable
6666

6767
normal! yy
6868
call assert_fails(':put', 'E21')
@@ -85,7 +85,7 @@ endfunc
8585
" output duplicate error messages when invoked in a non-modifiable buffer.
8686
func Test_put_p_errmsg_nodup()
8787
new
88-
set nomodifiable
88+
setlocal nomodifiable
8989

9090
normal! yy
9191

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,8 @@ static char *(features[]) =
789789

790790
static int included_patches[] =
791791
{ /* Add new patch number below this line */
792+
/**/
793+
119,
792794
/**/
793795
118,
794796
/**/

0 commit comments

Comments
 (0)