Adding more tests to bump coverage

Signed-off-by: quobix <dave@quobix.com>
This commit is contained in:
quobix
2023-11-22 14:10:18 -05:00
parent 102f7fc93f
commit 5d14ef226b
4 changed files with 84 additions and 2 deletions

View File

@@ -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