mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Fix potential test fail case
This commit is contained in:
@ -381,14 +381,10 @@ namespace osu.Game.Tests.Visual.SongSelect
|
||||
[Test]
|
||||
public void TestHiding()
|
||||
{
|
||||
BeatmapSetInfo hidingSet = null;
|
||||
|
||||
AddStep("Add set with diff 2 hidden", () =>
|
||||
{
|
||||
hidingSet = createTestBeatmapSet(1);
|
||||
BeatmapSetInfo hidingSet = createTestBeatmapSet(1);
|
||||
hidingSet.Beatmaps[1].Hidden = true;
|
||||
carousel.UpdateBeatmapSet(hidingSet);
|
||||
});
|
||||
|
||||
loadBeatmaps(new List<BeatmapSetInfo> { hidingSet });
|
||||
|
||||
setSelected(1, 1);
|
||||
|
||||
|
Reference in New Issue
Block a user