mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-06 04:20:11 +00:00
bumped coverage
This commit is contained in:
@@ -1801,3 +1801,10 @@ components:
|
||||
schemas := index.GetAllReferences()
|
||||
assert.Equal(t, 0, len(schemas))
|
||||
}
|
||||
|
||||
func Test_GetAllComponentSchemas(t *testing.T) {
|
||||
|
||||
// check for a nil
|
||||
index := SpecIndex{}
|
||||
assert.Nil(t, index.GetAllComponentSchemas())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user