Skip to content

Commit

Permalink
Address PR feedback: use const in test
Browse files Browse the repository at this point in the history
Co-authored-by: Arve Knudsen <[email protected]>
  • Loading branch information
charleskorn and aknuds1 authored Oct 10, 2024
1 parent 57c681b commit d2b6372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spanlogger/spanlogger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func BenchmarkSpanLoggerAwareCaller(b *testing.B) {

}

defaultStackDepth := 5
const defaultStackDepth = 5

b.Run("with go-kit's Caller", func(b *testing.B) {
runBenchmark(b, log.Caller(defaultStackDepth))
Expand Down

0 comments on commit d2b6372

Please sign in to comment.