Skip to content

Commit

Permalink
Update SerializationTests.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Jul 11, 2023
1 parent 80c7660 commit 8428423
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Verify.Tests/Serialization/SerializationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ class IgnoreOnInterfaceChild : IIgnoreOnInterface
[Fact]
public async Task GuidScrubbingDisabled()
{
var target = Guid.Parse("b6993f86-c1b9-44db-bfc5-33ed9e5c048e");
var target = new Guid("b6993f86-c1b9-44db-bfc5-33ed9e5c048e");

#region DontScrubGuids

Expand All @@ -569,7 +569,7 @@ public async Task GuidScrubbingDisabled()
[Fact]
public async Task GuidScrubbingDisabledFluent()
{
var target = Guid.Parse("b6993f86-c1b9-44db-bfc5-33ed9e5c048e");
var target = new Guid("b6993f86-c1b9-44db-bfc5-33ed9e5c048e");

#region DontScrubGuidsFluent

Expand All @@ -584,7 +584,7 @@ await Verify(target)
Verify(
new
{
value = Guid.Parse("b6993f86-c1b9-44db-bfc5-33ed9e5c048e")
value = new Guid("b6993f86-c1b9-44db-bfc5-33ed9e5c048e")
})
.DontScrubGuids()
.ScrubLinesWithReplace(_ => "replaced");
Expand All @@ -594,7 +594,7 @@ await Verify(target)
Verify(
new
{
value = Guid.Parse("b6993f86-c1b9-44db-bfc5-33ed9e5c048e")
value = new Guid("b6993f86-c1b9-44db-bfc5-33ed9e5c048e")
})
.DontScrubGuids();

Expand Down

0 comments on commit 8428423

Please sign in to comment.