Skip to content

Commit

Permalink
Fix the test case broken.
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed Mar 3, 2023
1 parent 8b82d9e commit 31a6069
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Rulesets.Karaoke.Mods;
using osu.Game.Rulesets.Karaoke.Tests.Beatmaps;
using osu.Game.Rulesets.Karaoke.Tests.Extensions;
Expand All @@ -24,7 +25,7 @@ public void TestFlashlightExist() => CreateModTest(new ModTestData
return false;

// Should has at least one flashlight
return drawableRuleset.KeyBindingInputManager.Children.OfType<KaraokeModFlashlight.KaraokeFlashlight>().Any();
return drawableRuleset.KeyBindingInputManager.ChildrenOfType<KaraokeModFlashlight.KaraokeFlashlight>().Any();
}
});
}
Expand Down

0 comments on commit 31a6069

Please sign in to comment.