mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
refactor: format test/*
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user