Skip to content

Commit

Permalink
Remove error message check
Browse files Browse the repository at this point in the history
  • Loading branch information
felixjung authored and daveshanley committed Oct 29, 2024
1 parent a165dcd commit 87abac5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions datamodel/low/extraction_functions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ func TestExtractArray_BadRefPropsTupe(t *testing.T) {
assert.NoError(t, mErr)
idx := index.NewSpecIndexWithConfig(&idxNode, index.CreateClosedAPIIndexConfig())

yml = `limes:
yml = `limes:
$ref: '#/components/parameters/cakes'`

var cNode yaml.Node
Expand Down Expand Up @@ -1893,7 +1893,6 @@ func TestLocateRefNode_Explode_NoSpecPath(t *testing.T) {
assert.NotNil(t, i)
assert.NotNil(t, e)
assert.NotNil(t, c)
assert.ErrorContains(t, e, "http://smilfghfhfhfhfhes.com/bikes/components/schemas/thing.yaml#/components/schemas/thing")
}

func TestLocateRefNode_DoARealLookup(t *testing.T) {
Expand Down Expand Up @@ -2107,7 +2106,7 @@ func TestArray_NotRefNotArray(t *testing.T) {
assert.NoError(t, mErr)
idx := index.NewSpecIndexWithConfig(&idxNode, index.CreateClosedAPIIndexConfig())

yml = `limes:
yml = `limes:
not: array`

var cNode yaml.Node
Expand Down

0 comments on commit 87abac5

Please sign in to comment.