mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 20:12:57 +08:00
Update test case to handle scheduled removal
This commit is contained in:
parent
30a15729ec
commit
3759c39f00
@ -268,8 +268,10 @@ namespace osu.Game.Tests.Visual
|
|||||||
|
|
||||||
AddUntilStep(() =>
|
AddUntilStep(() =>
|
||||||
{
|
{
|
||||||
|
if (!carousel.BeatmapSets.Any()) return true;
|
||||||
|
|
||||||
carousel.RemoveBeatmapSet(carousel.BeatmapSets.Last());
|
carousel.RemoveBeatmapSet(carousel.BeatmapSets.Last());
|
||||||
return !carousel.BeatmapSets.Any();
|
return false;
|
||||||
}, "Remove all");
|
}, "Remove all");
|
||||||
|
|
||||||
AddAssert("Selection is null", () => currentSelection == null);
|
AddAssert("Selection is null", () => currentSelection == null);
|
||||||
|
Loading…
Reference in New Issue
Block a user