-
-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
04a6762
commit 1b38d23
Showing
5 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
src/StaticSettingsTests/DateTimeScrubbingTests.Test.verified.txt
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
a DateTime_1 b |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[UsesVerify] | ||
public class DateTimeScrubbingTests : | ||
BaseTest | ||
{ | ||
public DateTimeScrubbingTests() => | ||
VerifierSettings.ScrubInlineDateTimes("F"); | ||
|
||
[Fact] | ||
public Task Test() | ||
{ | ||
var dateTime = DateTime.Now; | ||
return Verify($"a {dateTime:F} b"); | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
src/StaticSettingsTests/OmitContentFromExceptionTests.String.verified.txt
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Directory: CustomReplace\StaticSettingsTests | ||
Directory: {ProjectDirectory} | ||
NotEqual: | ||
- Received: OmitContentFromExceptionTests.String.received.txt | ||
Verified: OmitContentFromExceptionTests.String.verified.txt |
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
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