Fixing channel test issue for spec info.

code never runs as test returns fast.
This commit is contained in:
Dave Shanley
2022-08-31 10:37:53 -04:00
parent 5d8c576131
commit 6b1e408a9d
2 changed files with 4 additions and 1 deletions

View File

@@ -130,6 +130,10 @@ func TestExtractSpecInfo_OpenAPI3(t *testing.T) {
assert.Nil(t, e)
assert.Equal(t, utils.OpenApi3, r.SpecType)
assert.Equal(t, "3.0.1", r.Version)
<-r.JsonParsingChannel
assert.Greater(t, len(*r.SpecJSONBytes), 0)
}
func TestExtractSpecInfo_OpenAPIWat(t *testing.T) {