1
0
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:
Dean Herbert 2022-04-22 15:30:12 +09:00
parent 295558b24d
commit 06594ca0c8

View File

@ -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]