Skip to content

Commit

Permalink
Add test assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
MaggieKimani1 committed Dec 6, 2022
1 parent 8f87426 commit 1dae8dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/Microsoft.OpenApi.Tests/Models/OpenApiSchemaTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,8 @@ public void OpenApiSchemaCopyConstructorSucceeds()
};

Assert.Equal("string", actualSchema.Type);
Assert.Equal("date", actualSchema.Format);
Assert.True(actualSchema.Nullable);
}
}
}

0 comments on commit 1dae8dc

Please sign in to comment.