]> Cypherpunks repositories - gostls13.git/commit
test/codegen: fix a tab in comparisons.go to ensure pattern works
authorAlexander Musman <alexander.musman@gmail.com>
Sat, 6 Dec 2025 13:43:55 +0000 (21:43 +0800)
committerGopher Robot <gobot@golang.org>
Tue, 30 Dec 2025 15:28:47 +0000 (07:28 -0800)
commitdf4e08ac65e94041367785783ec1482e8bed2397
treee66395e5f551bbdd1cea3702a5dd43fbf924ff27
parentcd668d744f77da06ca9565f41c63c3a5251469ee
test/codegen: fix a tab in comparisons.go to ensure pattern works

Fix a pattern in test/codegen/comparisons.go to use whitespace instead
of a tab. The test needs a whitespace to properly fail if the regalloc
change from CL686655 would be missing (in that case we would have a
spill immediately after call to memequal, which is supposed to be
captured by this pattern).

Change-Id: I5b6fb5e861b9327c7f071660592b8ffa265e0030
Reviewed-on: https://go-review.googlesource.com/c/go/+/727620
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
test/codegen/comparisons.go