Skip to content

Commit

Permalink
Update sdk/resource/auto_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Pająk <pellared@hotmail.com>
  • Loading branch information
MrAlias and pellared committed Feb 1, 2024
1 parent b9ea2aa commit edb0343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/resource/auto_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func TestDetect(t *testing.T) {
if c.wantErr != nil {
assert.ErrorIs(t, err, c.wantErr)
if errors.Is(c.wantErr, resource.ErrSchemaURLConflict) {
assert.Equal(t, "", r.SchemaURL())
assert.Zero(t, r.SchemaURL())
}
} else {
assert.NoError(t, err)
Expand Down

0 comments on commit edb0343

Please sign in to comment.