From d1a30221fcb1307c59036ccddee0758395ceda4e Mon Sep 17 00:00:00 2001 From: bfredl Date: Fri, 15 Mar 2024 22:39:34 +0100 Subject: fix(intro): redrawing intro exposing pseudo-randomness problem: redrawing intro exposes pseudo-randomness solution: remove pseudo-randomness --- test/functional/ui/messages_spec.lua | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'test/functional/ui/messages_spec.lua') diff --git a/test/functional/ui/messages_spec.lua b/test/functional/ui/messages_spec.lua index 92a925ad31..f5f268b8fe 100644 --- a/test/functional/ui/messages_spec.lua +++ b/test/functional/ui/messages_spec.lua @@ -1623,7 +1623,8 @@ describe('ui/ext_messages', function() {1:~ }| {1:~{MATCH: +}}type :help news{5:} to see changes in v{MATCH:%d+%.%d+}{1:{MATCH: +}}| {1:~ }| - {MATCH:.*}|*2 + {1:~ }Help poor children in Uganda!{1: }| + {1:~ }type :help iccf{5:} for information {1: }| {1:~ }|*5 ]]) @@ -1645,7 +1646,8 @@ describe('ui/ext_messages', function() {1:~ }| {1:~{MATCH: +}}type :help news{5:} to see changes in v{MATCH:%d+%.%d+}{1:{MATCH: +}}| {1:~ }| - {MATCH:.*}|*2 + {1:~ }Help poor children in Uganda!{1: }| + {1:~ }type :help iccf{5:} for information {1: }| {1:~ }|*5 ]], showmode = { { '-- INSERT --', 3 } }, @@ -1678,7 +1680,8 @@ describe('ui/ext_messages', function() | {MATCH: +}type :help news{5:} to see changes in v{MATCH:%d+%.%d+ +}| | - {MATCH:.*}|*2 + Help poor children in Uganda! | + type :help iccf{5:} for information | |*5 ]], messages = { @@ -1783,7 +1786,8 @@ it('ui/ext_multigrid supports intro screen', function() {1:~ }| {1:~{MATCH: +}}type :help news{5:} to see changes in v{MATCH:%d+%.%d+}{1:{MATCH: +}}| {1:~ }| - {MATCH:.*}|*2 + {1:~ }Help poor children in Uganda!{1: }| + {1:~ }type :help iccf{5:} for information {1: }| {1:~ }|*4 ## grid 3 | -- cgit