aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline.Tests
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-04-30 18:09:01 +0800
committercrupest <crupest@outlook.com>2021-04-30 18:09:01 +0800
commitc2998e5833da46bbe5539bb4ce49fb3f10867a1d (patch)
tree334db84212be85520fd4d1b5a7c17595c78b8318 /BackEnd/Timeline.Tests
parente536121d97610af09d6bf4a51a875b0f7d50f702 (diff)
downloadtimeline-c2998e5833da46bbe5539bb4ce49fb3f10867a1d.tar.gz
timeline-c2998e5833da46bbe5539bb4ce49fb3f10867a1d.tar.bz2
timeline-c2998e5833da46bbe5539bb4ce49fb3f10867a1d.zip
refactor: ...
Diffstat (limited to 'BackEnd/Timeline.Tests')
-rw-r--r--BackEnd/Timeline.Tests/UsernameValidatorUnitTest.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/BackEnd/Timeline.Tests/UsernameValidatorUnitTest.cs b/BackEnd/Timeline.Tests/UsernameValidatorUnitTest.cs
index 7022b311..9e845641 100644
--- a/BackEnd/Timeline.Tests/UsernameValidatorUnitTest.cs
+++ b/BackEnd/Timeline.Tests/UsernameValidatorUnitTest.cs
@@ -41,8 +41,7 @@ namespace Timeline.Tests
[InlineData("ab c!")] // This is a chinese ! .
public void BadCharactor(string value)
{
- FailAndMessage(value).Should().ContainEquivalentOf("invalid")
- .And.ContainEquivalentOf("character");
+ FailAndMessage(value).Should().ContainEquivalentOf("only consists of");
}
[Fact]