We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7c3888 commit 9e155d7Copy full SHA for 9e155d7
internal/rpcapi/telemetry_test.go
@@ -12,6 +12,7 @@ import (
12
13
"github.com/davecgh/go-spew/spew"
14
"github.com/google/go-cmp/cmp"
15
+ "github.com/google/go-cmp/cmp/cmpopts"
16
17
"github.com/hashicorp/terraform/internal/rpcapi/terraform1/setup"
18
@@ -215,7 +216,7 @@ func TestTelemetryInTests(t *testing.T) {
215
216
},
217
}
218
- if diff := cmp.Diff(wantSpans, gotSpans); diff != "" {
219
+ if diff := cmp.Diff(wantSpans, gotSpans, cmpopts.IgnoreUnexported(attribute.Set{})); diff != "" {
220
t.Errorf("wrong spans\n%s", diff)
221
222
0 commit comments