mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-06 12:37:49 +00:00
Addressed comments from review and fixed bug with schema props
props did not have context, therefore they had no idea where they were or where to resolve from. Signed-off-by: quobix <dave@quobix.com>
This commit is contained in:
@@ -30,3 +30,7 @@ func TestUnwrapErrors(t *testing.T) {
|
||||
func TestUnwrapErrors_Empty(t *testing.T) {
|
||||
assert.Len(t, UnwrapErrors(nil), 0)
|
||||
}
|
||||
|
||||
func TestUnwrapErrors_SingleError(t *testing.T) {
|
||||
assert.Len(t, UnwrapErrors(errors.New("single error")), 1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user