]> Cypherpunks repositories - gostls13.git/commit
strings: don't assert on Replace's allocs for ASAN
authorJulien Cretel <jub0bsinthecloud@gmail.com>
Thu, 20 Mar 2025 20:33:46 +0000 (20:33 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 20 Mar 2025 21:49:24 +0000 (14:49 -0700)
commit93fe8c0415a10d26143a3ec1349937b2d94d0ebd
treef759820473558631dc207844ec5b348d1a203929
parentb613d21ffd17c1dda480b205f0cce5031bdbd5dd
strings: don't assert on Replace's allocs for ASAN

CL 657935 caused failures on the ASAN builder.

Under ASAN, do not assert on the number of allocations incurred by Replace.

Fixes #72973

Change-Id: I61536be6def6f2489d2a026c943c6e232865b723
GitHub-Last-Rev: 4aee3c2560c9a6fa6ba7c1950acc2172a7cfffe4
GitHub-Pull-Request: golang/go#72975
Reviewed-on: https://go-review.googlesource.com/c/go/+/659696
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Jorropo <jorropo.pgm@gmail.com>
Auto-Submit: Jorropo <jorropo.pgm@gmail.com>
src/strings/strings_test.go