From 0588329c8569553e3232e72889a28496a30aa54b Mon Sep 17 00:00:00 2001 From: Luuk van Baal Date: Thu, 27 Apr 2023 03:15:46 +0200 Subject: [PATCH] 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 --- test/functional/ui/highlight_spec.lua | 2 +- test/old/testdir/test_display.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/ui/highlight_spec.lua b/test/functional/ui/highlight_spec.lua index 01895003ae..89b503141b 100644 --- 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') 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 index aae1030aac..b642f39c9f 100644 --- 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 = [ - \ "<<