vim-patch:8.2.0966: 'shortmess' flag "n" not used in two places

Problem:    'shortmess' flag "n" not used in two places.
Solution:   Make use of the "n" flag consistent. (Nick Jensen, closes vim/vim#6245,
            closes vim/vim#6244)
722e505d1a
This commit is contained in:
Jan Edmund Lazo
2020-06-12 20:26:04 -04:00
parent abadb687fb
commit 3c9ec83395
5 changed files with 45 additions and 38 deletions

View File

@@ -25,7 +25,7 @@ describe("'shortmess'", function()
~ |
~ |
~ |
"foo" [New File] |
"foo" [New] |
]])
eq(1, eval('bufnr("%")'))
@@ -50,7 +50,7 @@ describe("'shortmess'", function()
~ |
~ |
~ |
"foo" [New File] |
"foo" [New] |
]])
eq(1, eval('bufnr("%")'))
feed(':edit bar<CR>')
@@ -59,7 +59,7 @@ describe("'shortmess'", function()
~ |
~ |
~ |
"bar" [New File] |
"bar" [New] |
]])
eq(2, eval('bufnr("%")'))
feed(':bprevious<CR>')
@@ -68,7 +68,7 @@ describe("'shortmess'", function()
~ |
~ |
~ |
"foo" [New file] --No lines in buffer-- |
"foo" [New] --No lines in buffer-- |
]])
eq(1, eval('bufnr("%")'))