aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/embed_spec.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-09-02 13:32:25 +0200
committerGitHub <noreply@github.com>2019-09-02 13:32:25 +0200
commitcb339ca0fb27976daca1909557d2862be9629d0e (patch)
tree028e65927ae113a042e2c8a40a9fcc7dfcc73bc3 /test/functional/ui/embed_spec.lua
parent099445cc07b0154edc6ecd562a28e86c87c0096b (diff)
parent66f4e8aee0bb810342364eaf6c9486918cbf1f17 (diff)
downloadrneovim-cb339ca0fb27976daca1909557d2862be9629d0e.tar.gz
rneovim-cb339ca0fb27976daca1909557d2862be9629d0e.tar.bz2
rneovim-cb339ca0fb27976daca1909557d2862be9629d0e.zip
Merge pull request #10913 from bfredl/nomsgsep
screen: fixes for `set display-=msgsep`, fixes #10912
Diffstat (limited to 'test/functional/ui/embed_spec.lua')
-rw-r--r--test/functional/ui/embed_spec.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/functional/ui/embed_spec.lua b/test/functional/ui/embed_spec.lua
index 5e09dc4289..f3cd223f53 100644
--- a/test/functional/ui/embed_spec.lua
+++ b/test/functional/ui/embed_spec.lua
@@ -81,6 +81,20 @@ local function test_embed(ext_linegrid)
eq(Screen.colors.Green, screen.default_colors.rgb_bg)
end}
end)
+
+ it("set display-=msgsep before first redraw", function()
+ startup('--cmd', 'set display-=msgsep')
+ screen:expect{grid=[[
+ ^ |
+ {3:~ }|
+ {3:~ }|
+ {3:~ }|
+ {3:~ }|
+ {3:~ }|
+ {3:~ }|
+ |
+ ]]}
+ end)
end
describe('--embed UI on startup (ext_linegrid=true)', function() test_embed(true) end)