chore: add more test coverage

This commit is contained in:
Tristan Cartledge
2023-12-14 17:55:51 +00:00
parent 13b97f84db
commit e4a6c6516e
3 changed files with 23 additions and 19 deletions

View File

@@ -2848,3 +2848,7 @@ func TestSchemaChanges_TotalBreakingChanges_NoNilPanic(t *testing.T) {
var changes *SchemaChanges
assert.Equal(t, 0, changes.TotalBreakingChanges())
}
func TestCompareSchemas_Nil(t *testing.T) {
assert.Nil(t, CompareSchemas(nil, nil))
}