mirror of
https://github.com/golang/go.git
synced 2026-06-27 19:30:52 +00:00
encoding/json/jsontext: skip allocation test when inlining is disabled
This test is failing on the noopt builder, where disabling inlining prevents the compiler from avoiding the allocation. Fixes #79502 Change-Id: I795284fa42c50174720c8b6ca08cf75e6a6a6964 Reviewed-on: https://go-review.googlesource.com/c/go/+/779960 Auto-Submit: Michael Pratt <mpratt@google.com> Reviewed-by: Damien Neil <dneil@google.com> LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Damien Neil <dneil@google.com>
This commit is contained in:
parent
6b0243ccf6
commit
78b71d40fd
1 changed files with 2 additions and 0 deletions
|
|
@ -13,6 +13,8 @@ import (
|
|||
"reflect"
|
||||
"strconv"
|
||||
"testing"
|
||||
|
||||
"internal/testenv"
|
||||
)
|
||||
|
||||
func TestTokenStringAllocations(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue