mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 12:37:49 +00:00
bumped coverage
This commit is contained in:
@@ -1801,3 +1801,10 @@ components:
|
|||||||
schemas := index.GetAllReferences()
|
schemas := index.GetAllReferences()
|
||||||
assert.Equal(t, 0, len(schemas))
|
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