1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-28 03:15:08 +08:00

Add failing test coverage of incorrect current section after quick setting search

This commit is contained in:
Dean Herbert 2022-04-14 20:36:48 +09:00
parent 9c7af98982
commit 21a5a2fd69

View File

@ -54,6 +54,8 @@ namespace osu.Game.Tests.Visual.Settings
.Where(f => !(f is IHasFilterableChildren)) .Where(f => !(f is IHasFilterableChildren))
.All(f => f.FilterTerms.Any(t => t.Contains("scaling"))) .All(f => f.FilterTerms.Any(t => t.Contains("scaling")))
)); ));
AddAssert("ensure section is current", () => settings.CurrentSection.Value != null);
} }
[Test] [Test]