mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
vim-patch:9.0.0760: display test for 'listchars' "precedes" fails
Problem: Display test for 'listchars' "precedes" fails.
Solution: Correct the expected result.
297164cb79
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -704,7 +704,7 @@ describe("'listchars' highlight", function()
|
|||||||
feed_command('set listchars=eol:¬,precedes:< list')
|
feed_command('set listchars=eol:¬,precedes:< list')
|
||||||
feed('90ia<esc>')
|
feed('90ia<esc>')
|
||||||
screen:expect([[
|
screen:expect([[
|
||||||
{0:<<<}aaaaaaaaaaaaaaaaa|
|
{0:<}aaaaaaaaaaaaaaaaaaa|
|
||||||
aaaaaaaaaaaaaaaaaaaa|
|
aaaaaaaaaaaaaaaaaaaa|
|
||||||
aaaaaaaaaaaaaaaaaaaa|
|
aaaaaaaaaaaaaaaaaaaa|
|
||||||
aaaaaaaaa^a{0:¬} |
|
aaaaaaaaa^a{0:¬} |
|
||||||
|
@@ -146,7 +146,7 @@ func Test_display_listchars_precedes()
|
|||||||
|
|
||||||
let lines = ScreenLines([1,10], winwidth(0)+1)
|
let lines = ScreenLines([1,10], winwidth(0)+1)
|
||||||
let expect = [
|
let expect = [
|
||||||
\ "<<<a aaa a|",
|
\ "<aaa aaa a|",
|
||||||
\ "a aaa aaa |",
|
\ "a aaa aaa |",
|
||||||
\ "aa aaa aaa|",
|
\ "aa aaa aaa|",
|
||||||
\ " aa aaa aa|",
|
\ " aa aaa aa|",
|
||||||
|
Reference in New Issue
Block a user