Skip to content

Commit f7e637f

Browse files
committed
chore: use implicit operator
1 parent 404ba4f commit f7e637f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Microsoft.OpenApi.Readers.Tests/V3Tests/OpenApiSchemaTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ public void ParseExampleStringFragmentShouldSucceed()
7070
// Assert
7171
Assert.Equivalent(new OpenApiDiagnostic(), diagnostic);
7272

73-
openApiAny.Should().BeEquivalentTo(new OpenApiAny(
73+
openApiAny.Should().BeEquivalentTo((OpenApiAny)
7474
new JsonObject
7575
{
7676
["foo"] = "bar",
7777
["baz"] = new JsonArray() { 1, 2 }
78-
}), options => options.IgnoringCyclicReferences());
78+
}, options => options.IgnoringCyclicReferences());
7979
}
8080

8181
[Fact]

0 commit comments

Comments
 (0)