diff options
Diffstat (limited to 'test/functional/legacy/tabline_spec.lua')
-rw-r--r-- | test/functional/legacy/tabline_spec.lua | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/test/functional/legacy/tabline_spec.lua b/test/functional/legacy/tabline_spec.lua index 6b368d1857..683c7d9bd7 100644 --- a/test/functional/legacy/tabline_spec.lua +++ b/test/functional/legacy/tabline_spec.lua @@ -17,12 +17,12 @@ describe('tabline', function() -- oldtest: Test_tabline_showcmd() it('showcmdloc=tabline works', function() screen:set_default_attr_ids({ - [0] = {bold = true, foreground = Screen.colors.Blue}, -- NonText - [1] = {background = Screen.colors.LightGrey}, -- Visual - [2] = {bold = true}, -- MoreMsg, TabLineSel - [3] = {reverse = true}, -- TabLineFill - [4] = {background = Screen.colors.LightGrey, underline = true}, -- TabLine - [5] = {background = Screen.colors.LightGrey, foreground = Screen.colors.DarkBlue}, -- Folded + [0] = { bold = true, foreground = Screen.colors.Blue }, -- NonText + [1] = { background = Screen.colors.LightGrey, foreground = Screen.colors.Black }, -- Visual + [2] = { bold = true }, -- MoreMsg, TabLineSel + [3] = { reverse = true }, -- TabLineFill + [4] = { background = Screen.colors.LightGrey, underline = true }, -- TabLine + [5] = { background = Screen.colors.LightGrey, foreground = Screen.colors.DarkBlue }, -- Folded }) exec([[ func MyTabLine() @@ -44,9 +44,7 @@ describe('tabline', function() {3:g }| {5:+-- 2 lines: a···································}| ^c | - {0:~ }| - {0:~ }| - {0:~ }| + {0:~ }|*3 | ]]) @@ -57,8 +55,7 @@ describe('tabline', function() ^a | b | c | - {0:~ }| - {0:~ }| + {0:~ }|*2 | ]]) @@ -68,8 +65,7 @@ describe('tabline', function() {1:a} | {1:b} | {1:c}^ | - {0:~ }| - {0:~ }| + {0:~ }|*2 {2:-- VISUAL BLOCK --} | ]]) @@ -79,8 +75,7 @@ describe('tabline', function() a | b | ^c | - {0:~ }| - {0:~ }| + {0:~ }|*2 | ]]) @@ -92,8 +87,7 @@ describe('tabline', function() a | b | ^c | - {0:~ }| - {0:~ }| + {0:~ }|*2 : | ]]) end) |