Skip to content

Commit 8e6e591

Browse files
committed
correct api
1 parent 5054499 commit 8e6e591

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

Src/FluentAssertions.Json/JsonAssertionOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public JsonAssertionOptions(EquivalencyOptions<T> equivalencyAssertionOptions) :
1414
{
1515
}
1616

17-
public bool IsStrictOrdering { get; private set; } = true;
17+
internal bool IsStrictOrdering { get; private set; } = true;
1818

1919
public new IJsonAssertionRestriction<T, TProperty> Using<TProperty>(Action<IAssertionContext<TProperty>> action)
2020
{

Tests/Approval.Tests/ApprovedApi/FluentAssertions.Json/net47.verified.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ namespace FluentAssertions.Json
44
public interface IJsonAssertionOptions<T>
55
{
66
FluentAssertions.Json.IJsonAssertionRestriction<T, TProperty> Using<TProperty>(System.Action<FluentAssertions.Equivalency.IAssertionContext<TProperty>> action);
7+
FluentAssertions.Json.IJsonAssertionOptions<T> WithoutStrictOrdering();
78
}
89
public interface IJsonAssertionRestriction<T, TMember>
910
{
@@ -50,6 +51,7 @@ namespace FluentAssertions.Json
5051
{
5152
public JsonAssertionOptions(FluentAssertions.Equivalency.EquivalencyOptions<T> equivalencyAssertionOptions) { }
5253
public FluentAssertions.Json.IJsonAssertionRestriction<T, TProperty> Using<TProperty>(System.Action<FluentAssertions.Equivalency.IAssertionContext<TProperty>> action) { }
54+
public FluentAssertions.Json.IJsonAssertionOptions<T> WithoutStrictOrdering() { }
5355
}
5456
public sealed class JsonAssertionRestriction<T, TProperty> : FluentAssertions.Json.IJsonAssertionRestriction<T, TProperty>
5557
{

Tests/Approval.Tests/ApprovedApi/FluentAssertions.Json/netstandard2.0.verified.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ namespace FluentAssertions.Json
44
public interface IJsonAssertionOptions<T>
55
{
66
FluentAssertions.Json.IJsonAssertionRestriction<T, TProperty> Using<TProperty>(System.Action<FluentAssertions.Equivalency.IAssertionContext<TProperty>> action);
7+
FluentAssertions.Json.IJsonAssertionOptions<T> WithoutStrictOrdering();
78
}
89
public interface IJsonAssertionRestriction<T, TMember>
910
{
@@ -50,6 +51,7 @@ namespace FluentAssertions.Json
5051
{
5152
public JsonAssertionOptions(FluentAssertions.Equivalency.EquivalencyOptions<T> equivalencyAssertionOptions) { }
5253
public FluentAssertions.Json.IJsonAssertionRestriction<T, TProperty> Using<TProperty>(System.Action<FluentAssertions.Equivalency.IAssertionContext<TProperty>> action) { }
54+
public FluentAssertions.Json.IJsonAssertionOptions<T> WithoutStrictOrdering() { }
5355
}
5456
public sealed class JsonAssertionRestriction<T, TProperty> : FluentAssertions.Json.IJsonAssertionRestriction<T, TProperty>
5557
{

0 commit comments

Comments
 (0)