mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-07 04:20:14 +00:00
Bumping coverage on 0.6.0
This commit is contained in:
@@ -25,3 +25,9 @@ func TestGenerateCleanSpecConfigBaseURL_RelativeDeep(t *testing.T) {
|
||||
assert.Equal(t, "https://pb33f.io/things/stuff/foo/bar/baz/crap.yaml#thang",
|
||||
GenerateCleanSpecConfigBaseURL(u, path, true))
|
||||
}
|
||||
|
||||
func TestSpecIndex_extractDefinitionRequiredRefProperties(t *testing.T) {
|
||||
c := CreateOpenAPIIndexConfig()
|
||||
idx := NewSpecIndexWithConfig(nil, c)
|
||||
assert.Nil(t, idx.extractDefinitionRequiredRefProperties(nil, nil))
|
||||
}
|
||||
Reference in New Issue
Block a user