Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Jul 2, 2024
1 parent ee5c684 commit e1bdd57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions docs/serializer-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,9 @@ var target = new TheTarget
};
var settings = new VerifySettings();
settings.UseStrictJson();
await Verify(target, settings)
.UseStrictJson();
await Verify(target, settings);
```
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L618-L629' title='Snippet source file'>snippet source</a> | <a href='#snippet-UseStrictJson' title='Start of snippet'>anchor</a></sup>
<sup><a href='/src/Verify.Tests/Serialization/SerializationTests.cs#L618-L628' title='Snippet source file'>snippet source</a> | <a href='#snippet-UseStrictJson' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->


Expand Down
4 changes: 2 additions & 2 deletions src/Verify.Tests/Serialization/SerializationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -623,11 +623,11 @@ public async Task UseStrictJson()
};
var settings = new VerifySettings();
settings.UseStrictJson();
await Verify(target, settings)
.UseStrictJson();
await Verify(target, settings);

#endregion
}

[Fact]
public async Task UseStrictJsonFluent()
{
Expand Down

0 comments on commit e1bdd57

Please sign in to comment.