generated from postsharp/PostSharp.Engineering.ProductTemplate
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#34405 Test of reported bug that is not reproducible.
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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() | ||
{ | ||
|