1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-19 14:23:14 +08:00

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
commit 6ba4dde983
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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]