mirror of https://github.com/ppy/osu
Fix english in test steps
This commit is contained in:
parent
8cd972a9fe
commit
4bbc98737f
|
@ -90,7 +90,7 @@ public void TestNoComment()
|
|||
|
||||
setUpCommentsResponse(comments);
|
||||
AddStep("show comments", () => commentsContainer.ShowComments(CommentableType.Beatmapset, 123));
|
||||
AddAssert("no comment showed", () => !commentsContainer.ChildrenOfType<DrawableComment>().Any());
|
||||
AddAssert("no comment shown", () => !commentsContainer.ChildrenOfType<DrawableComment>().Any());
|
||||
}
|
||||
|
||||
[TestCase(false)]
|
||||
|
@ -120,7 +120,7 @@ public void TestSingleComment(bool withPinned)
|
|||
setUpCommentsResponse(bundle);
|
||||
AddStep("show comments", () => commentsContainer.ShowComments(CommentableType.Beatmapset, 123));
|
||||
AddUntilStep("wait comment load", () => commentsContainer.ChildrenOfType<DrawableComment>().Any());
|
||||
AddAssert("only one comment showed", () =>
|
||||
AddAssert("only one comment shown", () =>
|
||||
commentsContainer.ChildrenOfType<DrawableComment>().Count(d => d.Comment.Pinned == withPinned) == 1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue