diff options
| author | Keith Randall <khr@golang.org> | 2026-03-27 16:20:06 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2026-03-31 11:01:13 -0700 |
| commit | d6492e284b61c8be4bfce5ee0ca907f4df5deb72 (patch) | |
| tree | 2dd97ab6ef6c6ae41d93bcbf21e133ec500f79e8 /test/codegen/bits.go | |
| parent | 1673075d4bd324e69cb4e6e58760316e2c84e604 (diff) | |
| download | go-d6492e284b61c8be4bfce5ee0ca907f4df5deb72.tar.xz | |
test/codegen: get rid of \s
Replace \s with a space in backtick-quoted strings
Replace \\s with a space in double-quoted strings
Change-Id: I0c8b249bb12c2c8ca69e683e4bc6f27544fd6094
Reviewed-on: https://go-review.googlesource.com/c/go/+/760680
Auto-Submit: Keith Randall <khr@google.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
Reviewed-by: Paul Murphy <paumurph@redhat.com>
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'test/codegen/bits.go')
| -rw-r--r-- | test/codegen/bits.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/codegen/bits.go b/test/codegen/bits.go index c5bce3d318..07e12d3131 100644 --- a/test/codegen/bits.go +++ b/test/codegen/bits.go @@ -445,11 +445,11 @@ func bitsFlipU32(a, b uint32) (n uint32) { func bitsOpOnMem(a []uint32, b, c, d uint32) { // check direct operation on memory with constant - // amd64:`ANDL\s[$]200,\s\([A-Z][A-Z0-9]+\)` + // amd64:`ANDL [$]200, \([A-Z][A-Z0-9]+\)` a[0] &= 200 - // amd64:`ORL\s[$]220,\s4\([A-Z][A-Z0-9]+\)` + // amd64:`ORL [$]220, 4\([A-Z][A-Z0-9]+\)` a[1] |= 220 - // amd64:`XORL\s[$]240,\s8\([A-Z][A-Z0-9]+\)` + // amd64:`XORL [$]240, 8\([A-Z][A-Z0-9]+\)` a[2] ^= 240 } |
