From d50a571ddfb7661d65c8488b0bbfeacc793f964b Mon Sep 17 00:00:00 2001 From: "matloob@golang.org" Date: Thu, 13 Nov 2025 17:04:54 -0500 Subject: 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 Reviewed-by: Michael Knyszek LUCI-TryBot-Result: Go LUCI Reviewed-by: Michael Matloob --- test/codegen/strings.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/codegen/strings.go') 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") } -- cgit v1.3