aboutsummaryrefslogtreecommitdiff
path: root/test/functional/options/shortmess_spec.lua
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-06-12 20:26:04 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-06-18 18:01:43 -0400
commit3c9ec83395b4419e7030d35b5a92b6d008ca25ea (patch)
treea30e4254f8e1b1f1026d05fe96451b6c848c3904 /test/functional/options/shortmess_spec.lua
parentabadb687fb76b9ef34c5df7f6da88fdf0a20577b (diff)
downloadrneovim-3c9ec83395b4419e7030d35b5a92b6d008ca25ea.tar.gz
rneovim-3c9ec83395b4419e7030d35b5a92b6d008ca25ea.tar.bz2
rneovim-3c9ec83395b4419e7030d35b5a92b6d008ca25ea.zip
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) https://github.com/vim/vim/commit/722e505d1a55dfde5ab62241d10da91d2e10c3c1
Diffstat (limited to 'test/functional/options/shortmess_spec.lua')
-rw-r--r--test/functional/options/shortmess_spec.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/options/shortmess_spec.lua b/test/functional/options/shortmess_spec.lua
index 8ea9a19464..a56e9c09b4 100644
--- a/test/functional/options/shortmess_spec.lua
+++ b/test/functional/options/shortmess_spec.lua
@@ -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("%")'))