Skip to content

Commit

Permalink
Update cmd/telemetrygen/internal/logs/worker_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
mx-psi authored Mar 22, 2024
1 parent abe73b6 commit 060984f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/telemetrygen/internal/logs/worker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func TestLogsWithOneTelemetryAttributes(t *testing.T) {
assert.Equal(t, 2, attrs.Len(), "shouldn't have less than 2 attributes")

val, ok := attrs.Get(telemetryAttrKeyOne)
assert.True(t, ok, fmt.Sprintf("there should be an attribute with key %s", telemetryAttrKeyOne))
assert.Truef(t, ok, "there should be an attribute with key %s", telemetryAttrKeyOne)
if ok {
assert.EqualValues(t, val.AsString(), telemetryAttrValueOne)
}
Expand Down

0 comments on commit 060984f

Please sign in to comment.