1
0
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:
Dean Herbert 2017-12-18 02:51:09 +09:00
parent 30a15729ec
commit 3759c39f00

View File

@ -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);