diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-06-27 23:12:36 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-06-27 23:12:36 +0200 |
commit | ec12d6490923fb5ff147ebf7e28d32f2b4977e3b (patch) | |
tree | 5f01d51f1c7162af3a4794bfd0e4403264b49a1e | |
parent | f52f9ea8f5fb3df51a308c56f2bf66f735ef3ca7 (diff) | |
download | vim-ec12d6490923fb5ff147ebf7e28d32f2b4977e3b.zip |
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.
-rw-r--r-- | src/testdir/test_put.vim | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 2 deletions
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 @@ -790,6 +790,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 119, +/**/ 118, /**/ 117, |