commit 0588329c8569553e3232e72889a28496a30aa54b
parent 72c525d5675bc017fa52bcc74a394db7d01e6359
Author: Luuk van Baal <luukvbaal@gmail.com>
Date: Thu, 27 Apr 2023 03:15:46 +0200
vim-patch:9.0.0760: display test for 'listchars' "precedes" fails
Problem: Display test for 'listchars' "precedes" fails.
Solution: Correct the expected result.
https://github.com/vim/vim/commit/297164cb7972beff35e375ccac4fbad8196ccbd7
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/functional/ui/highlight_spec.lua b/test/functional/ui/highlight_spec.lua
@@ -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:¬} |
diff --git a/test/old/testdir/test_display.vim b/test/old/testdir/test_display.vim
@@ -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|",