mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 17:35:10 +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)
|
||||
{
|
||||
AddAssert($"point {controlPointIndex} is {type}", () =>
|
||||
{
|
||||
return slider.Path.ControlPoints[controlPointIndex].Type.Value == type;
|
||||
});
|
||||
AddAssert($"point {controlPointIndex} is {type}", () => slider.Path.ControlPoints[controlPointIndex].Type.Value == type);
|
||||
}
|
||||
|
||||
private void addContextMenuItemStep(string contextMenuText)
|
||||
|
Loading…
Reference in New Issue
Block a user