mirror of
https://github.com/ppy/osu.git
synced 2025-02-20 05:15:37 +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(() =>
|
||||
{
|
||||
if (!carousel.BeatmapSets.Any()) return true;
|
||||
|
||||
carousel.RemoveBeatmapSet(carousel.BeatmapSets.Last());
|
||||
return !carousel.BeatmapSets.Any();
|
||||
return false;
|
||||
}, "Remove all");
|
||||
|
||||
AddAssert("Selection is null", () => currentSelection == null);
|
||||
|
Loading…
Reference in New Issue
Block a user