Skip to content

Commit

Permalink
Fixing up checking error
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Marciniak committed Jan 15, 2024
1 parent caa57e0 commit 008923b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/backends/otlp/backend_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func TestBackendSendAsyncMetrics(t *testing.T) {
if !assert.Len(t, errs, 1, "Must have one error") {
return
}
assert.EqualError(t, errs[0], "proto:\u00a0cannot parse invalid wire-format data")
assert.ErrorIs(t, errs[0], proto.Error, "Must match the expected error")
}
},
},
Expand Down

0 comments on commit 008923b

Please sign in to comment.