mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 17:13:06 +08:00
Check number of links shown
This commit is contained in:
parent
7b1ccb38cb
commit
21fedff54f
@ -123,7 +123,8 @@ namespace osu.Game.Tests.Visual.Online
|
||||
var linkSprites = linkCompilers.SelectMany(comp => ((DrawableLinkCompiler)comp).Parts);
|
||||
|
||||
return linkSprites.All(d => d.Colour == linkColour)
|
||||
&& newLine.DrawableContentFlow.Except(linkSprites.Concat(linkCompilers)).All(d => d.Colour == textColour);
|
||||
&& newLine.DrawableContentFlow.Except(linkSprites.Concat(linkCompilers)).All(d => d.Colour == textColour)
|
||||
&& linkCompilers.Count == expectedActions.Length;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user