1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:52:53 +08:00

Remove redundant typecast I accidentally left in (Thanks InspectCode)

This commit is contained in:
CenTdemeern1 2022-04-02 04:31:43 +02:00
parent 95ccac50d4
commit 245e452d41

View File

@ -109,7 +109,7 @@ namespace osu.Game.Tests.Visual.Menus
{
ToolbarClockDisplayMode initialDisplayMode = 0;
AddStep("Retrieve current state", () => initialDisplayMode = (ToolbarClockDisplayMode)clockDisplayMode.Value);
AddStep("Retrieve current state", () => initialDisplayMode = clockDisplayMode.Value);
AddStep("Trigger click", () => toolbarClock.TriggerClick());
AddAssert("State changed from initial", () => clockDisplayMode.Value != initialDisplayMode);