From: Bram Moolenaar Date: Wed, 27 Jun 2018 21:12:36 +0000 (+0200) Subject: patch 8.1.0119: failing test goes unnoticed because messages is not written X-Git-Tag: v8.1.0119 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec12d6490923fb5ff147ebf7e28d32f2b4977e3b;p=vim 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. --- diff --git a/src/testdir/test_put.vim b/src/testdir/test_put.vim index e425c44f9..61b74297f 100644 --- a/src/testdir/test_put.vim +++ b/src/testdir/test_put.vim @@ -62,7 +62,7 @@ endfunc func Test_put_fails_when_nomodifiable() new - set nomodifiable + setlocal nomodifiable normal! yy call assert_fails(':put', 'E21') @@ -85,7 +85,7 @@ endfunc " output duplicate error messages when invoked in a non-modifiable buffer. func Test_put_p_errmsg_nodup() new - set nomodifiable + setlocal nomodifiable normal! yy diff --git a/src/version.c b/src/version.c index ff3806af8..a7a96b396 100644 --- a/src/version.c +++ b/src/version.c @@ -789,6 +789,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 119, /**/ 118, /**/