aboutsummaryrefslogtreecommitdiff
path: root/test/functional/provider/clipboard_spec.lua
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-08-17 16:19:35 +0200
committerbfredl <bjorn.linse@gmail.com>2022-08-17 23:44:49 +0200
commit068a998e609b2568ad280e1753beb2a1251354a5 (patch)
tree4957988e6d6dc5460bcf93c28b333a70ece3e8ce /test/functional/provider/clipboard_spec.lua
parent35653e6bcda6923b5213fb9356c35067d6d0288f (diff)
downloadrneovim-068a998e609b2568ad280e1753beb2a1251354a5.tar.gz
rneovim-068a998e609b2568ad280e1753beb2a1251354a5.tar.bz2
rneovim-068a998e609b2568ad280e1753beb2a1251354a5.zip
fix(tests): remove irrelevant usage of display-=msgsep
These were just added to avoid churn when changing the default of 'display'. To simplify message handling logic, we might want to remove support for printing messages in default_grid later on. This would allow things like printing error messages safely in the middle of redraw, or a future graduation of the 'multigrid' feature.
Diffstat (limited to 'test/functional/provider/clipboard_spec.lua')
-rw-r--r--test/functional/provider/clipboard_spec.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/provider/clipboard_spec.lua b/test/functional/provider/clipboard_spec.lua
index 5bdfec574e..fbaef3ae00 100644
--- a/test/functional/provider/clipboard_spec.lua
+++ b/test/functional/provider/clipboard_spec.lua
@@ -96,9 +96,9 @@ describe('clipboard', function()
[0] = {bold = true, foreground = Screen.colors.Blue},
[1] = {foreground = Screen.colors.Grey100, background = Screen.colors.Red},
[2] = {bold = true, foreground = Screen.colors.SeaGreen4},
+ [3] = {bold = true, reverse = true};
})
screen:attach()
- command("set display-=msgsep")
end)
it('unnamed register works without provider', function()
@@ -123,10 +123,10 @@ describe('clipboard', function()
command("let g:clipboard = 'bogus'")
feed_command('redir @+> | bogus_cmd | redir END')
screen:expect{grid=[[
- {0:~ }|
- clipboard: No provider. Try ":checkhealth" or ":h clipboard". |
- {1:E492: Not an editor command: bogus_cmd | redir END} |
- {2:Press ENTER or type command to continue}^ |
+ {3: }|
+ clipboard: No provider. Try ":checkhealth" or ":h clipboard". |
+ {1:E492: Not an editor command: bogus_cmd | redir END} |
+ {2:Press ENTER or type command to continue}^ |
]]}
end)