# HG changeset patch # User Christian Brabandt # Date 1530134105 -7200 # Node ID 1b9f3932a13017fd026ea77913127f5ccae86174 # Parent f5c110d0bb26b234a7bf6a9f7ccd06136cbac7fe patch 8.1.0119: failing test goes unnoticed because messages is not written commit https://github.com/vim/vim/commit/ec12d6490923fb5ff147ebf7e28d32f2b4977e3b Author: Bram Moolenaar Date: Wed Jun 27 23:12:36 2018 +0200 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -790,6 +790,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 119, +/**/ 118, /**/ 117,