Skip to content

Commit 414ad9f

Browse files
committed
msgpack: fix BenchmarkDecode/Map/String bench data
1 parent c5ed3e6 commit 414ad9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msgpack/msgpack_bench_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ func BenchmarkDecode(b *testing.B) {
795795
m := map[string]string{
796796
"foo": makeString(math.MaxUint8),
797797
"bar": makeString(math.MaxUint8 + 1),
798-
"baz": makeString(math.MaxUint16),
798+
"baz": makeString(math.MaxUint8 + 2),
799799
}
800800
builder := NewTestMapBuilder(b)
801801
for k, v := range m {

0 commit comments

Comments
 (0)