Skip to content

Commit

Permalink
Fix testifylint
Browse files Browse the repository at this point in the history
  • Loading branch information
axw committed Oct 11, 2024
1 parent 5cc1804 commit a474780
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/telemetrygen/internal/traces/exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ func TestHTTPExporterOptions_HTTP(t *testing.T) {
err = client.UploadTraces(context.Background(), []*tracepb.ResourceSpans{})
require.NoError(t, err)
assert.Equal(t, tc.expectedHTTPPath, httpPath)
for k, v := range tc.expectedHeader {
assert.Equal(t, v, []string{header.Get(k)})
for k, expected := range tc.expectedHeader {
assert.Equal(t, expected, []string{header.Get(k)})
}
})
}
Expand Down

0 comments on commit a474780

Please sign in to comment.