Added correct handling of schema example rendering

reported in https://github.com/pb33f/wiretap/issues/84

Signed-off-by: quobix <dave@quobix.com>
This commit is contained in:
quobix
2024-01-27 13:17:13 -05:00
parent 8039927eb5
commit 8825f5e328
3 changed files with 114 additions and 1 deletions

View File

@@ -453,7 +453,7 @@ func TestSpecIndex_BaseURLError(t *testing.T) {
files := remoteFS.GetFiles()
fileLen := len(files)
assert.Equal(t, 0, fileLen)
assert.GreaterOrEqual(t, len(remoteFS.GetErrors()), 200)
assert.GreaterOrEqual(t, len(remoteFS.GetErrors()), 155)
}
func TestSpecIndex_k8s(t *testing.T) {