1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-18 06:27:18 +08:00

Fix incorrect assertion

This commit is contained in:
smoogipoo 2019-06-04 19:25:34 +09:00
parent 76474987ef
commit ff647940ca

View File

@ -41,7 +41,7 @@ namespace osu.Game.Tests.Visual.UserInterface
TestUpdateableBeatmapBackgroundSprite background = null;
AddStep("load null beatmap", () => Child = background = new TestUpdateableBeatmapBackgroundSprite { RelativeSizeAxes = Axes.Both });
AddAssert("no content", () => !background.ContentLoaded);
AddUntilStep("content loaded", () => background.ContentLoaded);
}
[Test]