Fix english in test steps

This commit is contained in:
Dean Herbert 2021-08-24 14:39:03 +09:00
parent 8cd972a9fe
commit 4bbc98737f
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}