refactor: format test/*

This commit is contained in:
Justin M. Keyes
2024-01-03 02:09:18 +01:00
parent 59d117ec99
commit 04f2f864e2
363 changed files with 30631 additions and 20833 deletions

View File

@@ -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()