aboutsummaryrefslogtreecommitdiff
path: root/test/functional/editor/mode_cmdline_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/editor/mode_cmdline_spec.lua')
-rw-r--r--test/functional/editor/mode_cmdline_spec.lua16
1 files changed, 10 insertions, 6 deletions
diff --git a/test/functional/editor/mode_cmdline_spec.lua b/test/functional/editor/mode_cmdline_spec.lua
index e1fe8dead7..d36db80bdf 100644
--- a/test/functional/editor/mode_cmdline_spec.lua
+++ b/test/functional/editor/mode_cmdline_spec.lua
@@ -48,25 +48,29 @@ describe('cmdline', function()
it('redraws statusline when toggling overstrike', function()
local screen = Screen.new(60, 4)
screen:set_default_attr_ids({
- [0] = {bold = true, foreground = Screen.colors.Blue}, -- NonText
- [1] = {reverse = true, bold = true}, -- StatusLine
+ [0] = { bold = true, foreground = Screen.colors.Blue }, -- NonText
+ [1] = { reverse = true, bold = true }, -- StatusLine
})
screen:attach()
command('set laststatus=2 statusline=%!mode(1)')
feed(':')
- screen:expect{grid=[[
+ screen:expect {
+ grid = [[
|
{0:~ }|
{1:c }|
:^ |
- ]]}
+ ]],
+ }
feed('<Insert>')
- screen:expect{grid=[[
+ screen:expect {
+ grid = [[
|
{0:~ }|
{1:cr }|
:^ |
- ]]}
+ ]],
+ }
end)
describe('history', function()