mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-06 04:20:11 +00:00
Adding more tests to bump coverage
Signed-off-by: quobix <dave@quobix.com>
This commit is contained in:
@@ -519,6 +519,10 @@ func TestSpecIndex_PetstoreV3(t *testing.T) {
|
||||
assert.Equal(t, 19, index.GetAllSummariesCount())
|
||||
assert.Len(t, index.GetAllDescriptions(), 90)
|
||||
assert.Len(t, index.GetAllSummaries(), 19)
|
||||
|
||||
index.SetAbsolutePath("/rooty/rootster")
|
||||
assert.Equal(t, "/rooty/rootster", index.GetSpecAbsolutePath())
|
||||
|
||||
}
|
||||
|
||||
var mappedRefs = 15
|
||||
|
||||
Reference in New Issue
Block a user