func check(t *testing.T, b *Builder, want string) { … } func TestBuilder(t *testing.T) { … } func TestBuilderString(t *testing.T) { … } func TestBuilderReset(t *testing.T) { … } func TestBuilderGrow(t *testing.T) { … } func TestBuilderWrite2(t *testing.T) { … } func TestBuilderWriteByte(t *testing.T) { … } func TestBuilderAllocs(t *testing.T) { … } func TestBuilderCopyPanic(t *testing.T) { … } func TestBuilderWriteInvalidRune(t *testing.T) { … } var someBytes … var sinkS … func benchmarkBuilder(b *testing.B, f func(b *testing.B, numWrite int, grow bool)) { … } func BenchmarkBuildString_Builder(b *testing.B) { … } func BenchmarkBuildString_WriteString(b *testing.B) { … } func BenchmarkBuildString_ByteBuffer(b *testing.B) { … } func TestBuilderGrowSizeclasses(t *testing.T) { … }