diff options
| author | matloob@golang.org <matloob@golang.org> | 2025-11-13 17:04:54 -0500 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-11-13 16:57:31 -0800 |
| commit | d50a571ddfb7661d65c8488b0bbfeacc793f964b (patch) | |
| tree | d72f98a93afcceaa5355dc7ecb1fc8fed7ad64c2 /test/codegen | |
| parent | 704f841eab87462d4eefac07345c96f71fb6e964 (diff) | |
| download | go-d50a571ddfb7661d65c8488b0bbfeacc793f964b.tar.xz | |
test: fix tests to work with sizespecializedmalloc turned off
Cq-Include-Trybots: luci.golang.try:gotip-linux-386-nosizespecializedmalloc,gotip-linux-amd64-nosizespecializedmalloc,gotip-linux-arm64-nosizespecializedmalloc
Change-Id: I6a6a696465004b939c989afc058c4c3e1fb7134f
Reviewed-on: https://go-review.googlesource.com/c/go/+/720401
Auto-Submit: Michael Matloob <matloob@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@google.com>
Diffstat (limited to 'test/codegen')
| -rw-r--r-- | test/codegen/strings.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/codegen/strings.go b/test/codegen/strings.go index 9d85604395..0c5ee2f8f5 100644 --- a/test/codegen/strings.go +++ b/test/codegen/strings.go @@ -23,7 +23,7 @@ func CountBytes(s []byte) int { func ToByteSlice() []byte { // Issue #24698 // amd64:`LEAQ type:\[3\]uint8` - // amd64:`CALL runtime\.mallocTiny3` + // amd64:`CALL runtime\.(newobject|mallocTiny3)` // amd64:-`.*runtime.stringtoslicebyte` return []byte("foo") } |
