mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 17:23:22 +08:00
Use lambda expression
Apparently CI dislikes this not being a lambda.
This commit is contained in:
parent
9a675a2219
commit
2d94484566
@ -152,10 +152,7 @@ namespace osu.Game.Rulesets.Osu.Tests.Editor
|
|||||||
|
|
||||||
private void assertControlPointPathType(int controlPointIndex, PathType? type)
|
private void assertControlPointPathType(int controlPointIndex, PathType? type)
|
||||||
{
|
{
|
||||||
AddAssert($"point {controlPointIndex} is {type}", () =>
|
AddAssert($"point {controlPointIndex} is {type}", () => slider.Path.ControlPoints[controlPointIndex].Type.Value == type);
|
||||||
{
|
|
||||||
return slider.Path.ControlPoints[controlPointIndex].Type.Value == type;
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addContextMenuItemStep(string contextMenuText)
|
private void addContextMenuItemStep(string contextMenuText)
|
||||||
|
Loading…
Reference in New Issue
Block a user