Fix test checking nullable string

This commit is contained in:
smoogipoo 2021-03-17 19:07:29 +09:00
parent f7ec79c5f4
commit e59b8b4ce6
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ public void TestMapWithUnknownMapper()
}));
AddAssert("mapped by text not present", () =>
this.ChildrenOfType<OsuSpriteText>().All(spriteText => !containsAny(spriteText.Current.Value, "mapped", "by")));
this.ChildrenOfType<OsuSpriteText>().All(spriteText => !containsAny(spriteText.Text.ToString(), "mapped", "by")));
}
private void showPanel(ScoreInfo score) => Child = new ExpandedPanelMiddleContentContainer(score);