Skip to content

Commit 4a447cf

Browse files
committed
Update name of benchmarks to be more consistent
1 parent c86a37b commit 4a447cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

log/default_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ func Test_Tracew(t *testing.T) {
307307
require.Equal(t, "[Trace] trace work key1=value1 key2=value2\n", string(w.b))
308308
}
309309

310-
func BenchmarkLogfKeyAndValues(b *testing.B) {
310+
func Benchmark_LogfKeyAndValues(b *testing.B) {
311311
tests := []struct {
312312
name string
313313
level Level
@@ -365,7 +365,7 @@ func BenchmarkLogfKeyAndValues(b *testing.B) {
365365
}
366366
}
367367

368-
func BenchmarkLogfKeyAndValuesParallel(b *testing.B) {
368+
func Benchmark_LogfKeyAndValuesParallel(b *testing.B) {
369369
tests := []struct {
370370
name string
371371
level Level

0 commit comments

Comments
 (0)