Fix incorrect testcase assertion (#4908)

Fix incorrect testcase assertion
This commit is contained in:
Dean Herbert
2019-06-04 21:54:08 +09:00
committed by GitHub

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]