Skip to content

Commit 8428423

Browse files
committed
Update SerializationTests.cs
1 parent 80c7660 commit 8428423

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Verify.Tests/Serialization/SerializationTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ class IgnoreOnInterfaceChild : IIgnoreOnInterface
555555
[Fact]
556556
public async Task GuidScrubbingDisabled()
557557
{
558-
var target = Guid.Parse("b6993f86-c1b9-44db-bfc5-33ed9e5c048e");
558+
var target = new Guid("b6993f86-c1b9-44db-bfc5-33ed9e5c048e");
559559

560560
#region DontScrubGuids
561561

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

574574
#region DontScrubGuidsFluent
575575

@@ -584,7 +584,7 @@ public Task GuidScrubbingDisabled_ExplicitScrubber() =>
584584
Verify(
585585
new
586586
{
587-
value = Guid.Parse("b6993f86-c1b9-44db-bfc5-33ed9e5c048e")
587+
value = new Guid("b6993f86-c1b9-44db-bfc5-33ed9e5c048e")
588588
})
589589
.DontScrubGuids()
590590
.ScrubLinesWithReplace(_ => "replaced");
@@ -594,7 +594,7 @@ public Task GuidScrubbingDisabledNested() =>
594594
Verify(
595595
new
596596
{
597-
value = Guid.Parse("b6993f86-c1b9-44db-bfc5-33ed9e5c048e")
597+
value = new Guid("b6993f86-c1b9-44db-bfc5-33ed9e5c048e")
598598
})
599599
.DontScrubGuids();
600600

0 commit comments

Comments
 (0)