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:
Luuk van Baal 2023-04-27 03:15:46 +02:00
parent 72c525d567
commit 0588329c85
2 changed files with 2 additions and 2 deletions

View File

@ -704,7 +704,7 @@ describe("'listchars' highlight", function()
feed_command('set listchars=eol:¬,precedes:< list')
feed('90ia<esc>')
screen:expect([[
{0:<<<}aaaaaaaaaaaaaaaaa|
{0:<}aaaaaaaaaaaaaaaaaaa|
aaaaaaaaaaaaaaaaaaaa|
aaaaaaaaaaaaaaaaaaaa|
aaaaaaaaa^a{0:¬} |

View File

@ -146,7 +146,7 @@ func Test_display_listchars_precedes()
let lines = ScreenLines([1,10], winwidth(0)+1)
let expect = [
\ "<<<a aaa a|",
\ "<aaa aaa a|",
\ "a aaa aaa |",
\ "aa aaa aaa|",
\ " aa aaa aa|",