Skip to content

Commit

Permalink
Update sdk/resource/resource_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler Yahn <[email protected]>
  • Loading branch information
jmacd and MrAlias authored Sep 9, 2021
1 parent 45f7dc6 commit e3e37dd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sdk/resource/resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,13 +207,13 @@ func TestMerge(t *testing.T) {

func TestEmpty(t *testing.T) {
var res *resource.Resource
require.Equal(t, "", res.SchemaURL())
require.Equal(t, "", res.String())
require.Equal(t, []attribute.KeyValue(nil), res.Attributes())
assert.Equal(t, "", res.SchemaURL())
assert.Equal(t, "", res.String())
assert.Equal(t, []attribute.KeyValue(nil), res.Attributes())

it := res.Iter()
require.Equal(t, 0, it.Len())
require.True(t, res.Equal(res))
assert.Equal(t, 0, it.Len())
assert.True(t, res.Equal(res))
}

func TestDefault(t *testing.T) {
Expand Down

0 comments on commit e3e37dd

Please sign in to comment.