aboutsummaryrefslogtreecommitdiff
path: root/test/functional/core
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-09-08 20:58:36 -0700
committerJustin M. Keyes <justinkz@gmail.com>2019-09-08 20:58:36 -0700
commit9e0ce1a158417e34a0b4b6690e1f6a1816c6e725 (patch)
treed90480e50c33933450009f17f6b5b4641838ebfc /test/functional/core
parent74c362cec029ba39a8eb0bbd629148e4b6b54968 (diff)
parent8dde9b58e56345c8c04620d513b55d3b518ea98e (diff)
downloadrneovim-9e0ce1a158417e34a0b4b6690e1f6a1816c6e725.tar.gz
rneovim-9e0ce1a158417e34a0b4b6690e1f6a1816c6e725.tar.bz2
rneovim-9e0ce1a158417e34a0b4b6690e1f6a1816c6e725.zip
Merge #10973 'vim-patch:8.1.1197'
Diffstat (limited to 'test/functional/core')
-rw-r--r--test/functional/core/startup_spec.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/functional/core/startup_spec.lua b/test/functional/core/startup_spec.lua
index 3b32c42ec0..2d6eb4dd45 100644
--- a/test/functional/core/startup_spec.lua
+++ b/test/functional/core/startup_spec.lua
@@ -251,6 +251,24 @@ describe('startup', function()
|
]])
end)
+
+ it("sets 'shortmess' when loading other tabs", function()
+ clear({args={'-p', 'a', 'b', 'c'}})
+ local screen = Screen.new(25, 4)
+ screen:attach()
+ screen:expect({grid=[[
+ {1: a }{2: b c }{3: }{2:X}|
+ ^ |
+ {4:~ }|
+ |
+ ]],
+ attr_ids={
+ [1] = {bold = true},
+ [2] = {background = Screen.colors.LightGrey, underline = true},
+ [3] = {reverse = true},
+ [4] = {bold = true, foreground = Screen.colors.Blue1},
+ }})
+ end)
end)
describe('sysinit', function()