mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 09:37:23 +08:00
Fix incorrect assertion
This commit is contained in:
parent
76474987ef
commit
ff647940ca
@ -41,7 +41,7 @@ namespace osu.Game.Tests.Visual.UserInterface
|
|||||||
TestUpdateableBeatmapBackgroundSprite background = null;
|
TestUpdateableBeatmapBackgroundSprite background = null;
|
||||||
|
|
||||||
AddStep("load null beatmap", () => Child = background = new TestUpdateableBeatmapBackgroundSprite { RelativeSizeAxes = Axes.Both });
|
AddStep("load null beatmap", () => Child = background = new TestUpdateableBeatmapBackgroundSprite { RelativeSizeAxes = Axes.Both });
|
||||||
AddAssert("no content", () => !background.ContentLoaded);
|
AddUntilStep("content loaded", () => background.ContentLoaded);
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user