Skip to content

Commit

Permalink
Update index/spec_index_test.go
Browse files Browse the repository at this point in the history
fixed invalid test
  • Loading branch information
daveshanley authored Oct 29, 2024
1 parent 2f593da commit 5c3c79d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index/spec_index_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1860,7 +1860,7 @@ components:
}

func TestSpecIndex_GetAllComponentSchemas_NilIndex(t *testing.T) {
index := &SpecIndex{}
var index *SpecIndex
schemas := index.GetAllComponentSchemas()
assert.Nil(t, schemas, "Expected GetAllComponentSchemas to return nil when index is nil")
}
Expand Down

0 comments on commit 5c3c79d

Please sign in to comment.