Skip to content

Commit

Permalink
#34405 Test of reported bug that is not reproducible.
Browse files Browse the repository at this point in the history
  • Loading branch information
addabis committed Aug 29, 2024
1 parent 8780c51 commit 0f066d3
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,22 @@ public void Given_FieldEmail_When_IncorrectValuePassed_Then_ExceptionIsThrown()
Assert.Contains( "Email2", e.Message, StringComparison.Ordinal );
}

[Fact]
public void Given_FieldEmail_When_ValidValueWithSingleQuote_Then_Success()
{
var cut = new RegexTestClass();

cut.Email2 = "Spirit.O'[email protected]";
}

[Fact]
public void Given_FieldEmail_When_ValidValueWithDoubleQuote_Then_Success()
{
var cut = new RegexTestClass();

cut.Email2 = "\"Spirit O'Crowd\"@foobusiness.borg.uk";
}

[Fact]
public void Given_FieldWithPhone_When_CorrectValuePassed_Then_Success()
{
Expand Down

0 comments on commit 0f066d3

Please sign in to comment.