mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 20:47:44 +00:00
more coverage, bumping up rolodex coverage
fixing small glitches now as we go. Signed-off-by: quobix <dave@quobix.com>
This commit is contained in:
@@ -771,3 +771,10 @@ components:
|
||||
assert.Len(t, resolver.GetIgnoredCircularPolyReferences(), 1)
|
||||
|
||||
}
|
||||
|
||||
func TestResolver_isInfiniteCircularDep_NoRef(t *testing.T) {
|
||||
resolver := NewResolver(nil)
|
||||
a, b := resolver.isInfiniteCircularDependency(nil, nil, nil)
|
||||
assert.False(t, a)
|
||||
assert.Nil(t, b)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user