mirror of
https://github.com/ppy/osu
synced 2025-01-16 02:51:20 +00:00
Fix test matching conditions
This commit is contained in:
parent
c57a918bbb
commit
a0ac316d6e
@ -49,7 +49,8 @@ namespace osu.Game.Tests.Visual.Settings
|
||||
AddAssert("ensure all items match filter", () => settings.SectionsContainer
|
||||
.ChildrenOfType<SettingsSection>().Where(f => f.IsPresent)
|
||||
.All(section =>
|
||||
section.ChildrenOfType<Drawable>().Where(f => f.IsPresent)
|
||||
section.Children.Where(f => f.IsPresent)
|
||||
.OfType<ISettingsItem>()
|
||||
.OfType<IFilterable>()
|
||||
.Where(f => !(f is IHasFilterableChildren))
|
||||
.All(f => f.FilterTerms.Any(t => t.Contains("scaling")))
|
||||
|
Loading…
Reference in New Issue
Block a user