diff options
author | Luuk van Baal <luukvbaal@gmail.com> | 2023-04-27 03:15:46 +0200 |
---|---|---|
committer | Luuk van Baal <luukvbaal@gmail.com> | 2023-05-02 13:11:47 +0200 |
commit | 0588329c8569553e3232e72889a28496a30aa54b (patch) | |
tree | d22ab50880116ae16faf983087d3e029ef26698d | |
parent | 72c525d5675bc017fa52bcc74a394db7d01e6359 (diff) | |
download | rneovim-0588329c8569553e3232e72889a28496a30aa54b.tar.gz rneovim-0588329c8569553e3232e72889a28496a30aa54b.tar.bz2 rneovim-0588329c8569553e3232e72889a28496a30aa54b.zip |
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>
-rw-r--r-- | test/functional/ui/highlight_spec.lua | 2 | ||||
-rw-r--r-- | 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<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 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 = [ - \ "<<<a aaa a|", + \ "<aaa aaa a|", \ "a aaa aaa |", \ "aa aaa aaa|", \ " aa aaa aa|", |