mirror of
https://github.com/neovim/neovim.git
synced 2025-12-09 16:12:48 +00:00
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:
@@ -462,7 +462,7 @@ describe('confirm()', function()
|
||||
-- With shortmess-=F
|
||||
command('set shortmess-=F')
|
||||
feed(':edit foo<cr>')
|
||||
check_and_clear('"foo" [New File] |\n')
|
||||
check_and_clear('"foo" [New] |\n')
|
||||
|
||||
-- With shortmess+=F
|
||||
command('set shortmess+=F')
|
||||
|
||||
@@ -31,7 +31,7 @@ describe(":drop", function()
|
||||
{0:~ }|
|
||||
{0:~ }|
|
||||
{1:tmp1.vim }|
|
||||
"tmp1.vim" [New File] |
|
||||
"tmp1.vim" [New] |
|
||||
]])
|
||||
end)
|
||||
|
||||
@@ -70,7 +70,7 @@ describe(":drop", function()
|
||||
{0:~ }{2:│}{0:~ }|
|
||||
{0:~ }{2:│}{0:~ }|
|
||||
{2:tmp2 [+] tmp1 }|
|
||||
"tmp3" [New File] |
|
||||
"tmp3" [New] |
|
||||
]])
|
||||
end)
|
||||
|
||||
|
||||
@@ -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("%")'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user