mirror of
https://github.com/neovim/neovim.git
synced 2026-01-04 18:37:02 +10:00
test: avoid repeated screen lines in expected states
This is the command invoked repeatedly to make the changes:
:%s/^\(.*\)|\%(\*\(\d\+\)\)\?$\n\1|\%(\*\(\d\+\)\)\?$/\=submatch(1)..'|*'..(max([str2nr(submatch(2)),1])+max([str2nr(submatch(3)),1]))/g
This commit is contained in:
@@ -179,10 +179,7 @@ describe(':substitute', function()
|
||||
{1:o}ne |
|
||||
two |
|
||||
three |
|
||||
{0:~ }|
|
||||
{0:~ }|
|
||||
{0:~ }|
|
||||
{0:~ }|
|
||||
{0:~ }|*4
|
||||
{2:replace with (y/n/a/q/l/^E/^Y)?}^ |
|
||||
]])
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user