1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 18:27:26 +08:00

Remove unnecessary until step

This commit is contained in:
Dean Herbert 2020-08-19 19:10:45 +09:00
parent 06503597e0
commit 3e4eae7fe4

View File

@ -84,7 +84,7 @@ namespace osu.Game.Tests.Visual.Menus
AddStep("try to show toolbar", () => toolbar.Show()); AddStep("try to show toolbar", () => toolbar.Show());
if (mode == OverlayActivation.Disabled) if (mode == OverlayActivation.Disabled)
AddUntilStep("toolbar still hidden", () => toolbar.State.Value == Visibility.Hidden); AddAssert("toolbar still hidden", () => toolbar.State.Value == Visibility.Hidden);
else else
AddAssert("toolbar is visible", () => toolbar.State.Value == Visibility.Visible); AddAssert("toolbar is visible", () => toolbar.State.Value == Visibility.Visible);
} }