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:
parent
06503597e0
commit
3e4eae7fe4
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user