mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:07:38 +08:00
Refine assertion to ensure correct section is current, rather than any section
This commit is contained in:
parent
295558b24d
commit
06594ca0c8
@ -55,7 +55,7 @@ namespace osu.Game.Tests.Visual.Settings
|
||||
.All(f => f.FilterTerms.Any(t => t.Contains("scaling")))
|
||||
));
|
||||
|
||||
AddAssert("ensure section is current", () => settings.CurrentSection.Value != null);
|
||||
AddAssert("ensure section is current", () => settings.CurrentSection.Value is GraphicsSection);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
Loading…
Reference in New Issue
Block a user