Skip to content

Commit

Permalink
fix error format variable placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeGoldsmith committed Jan 22, 2021
1 parent 1e13313 commit 260f71f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion route/route_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ func TestGetSampleRateFromAttributes(t *testing.T) {

sampleRate, _ := getSampleRateFromAttributes(attrs)
if sampleRate != tt.expectedValue {
t.Errorf("got: %s\n\twant: %v", sampleRate, tt.expectedValue)
t.Errorf("got: %d\n\twant: %d", sampleRate, tt.expectedValue)
}
})
}
Expand Down

0 comments on commit 260f71f

Please sign in to comment.