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/issue68845.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/issue68845.go')
| -rw-r--r-- | test/codegen/issue68845.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/codegen/issue68845.go b/test/codegen/issue68845.go index 3b22471d06..b5ab4a0fc8 100644 --- a/test/codegen/issue68845.go +++ b/test/codegen/issue68845.go @@ -11,7 +11,7 @@ type T1 struct { } func f1() *T1 { - // amd64:-`MOVQ\s[$]0`,-`MOVUPS\sX15` + // amd64:-`MOVQ [$]0`,-`MOVUPS X15` return &T1{} } @@ -20,7 +20,7 @@ type T2 struct { } func f2() *T2 { - // amd64:-`MOVQ\s[$]0`,-`MOVUPS\sX15` + // amd64:-`MOVQ [$]0`,-`MOVUPS X15` return &T2{} } @@ -29,7 +29,7 @@ type T3 struct { } func f3() *T3 { - // amd64:-`MOVQ\s[$]0`,-`MOVUPS\sX15` + // amd64:-`MOVQ [$]0`,-`MOVUPS X15` return &T3{} } @@ -38,7 +38,7 @@ type T4 struct { } func f4() *T4 { - // amd64:-`MOVQ\s[$]0`,-`MOVUPS\sX15` + // amd64:-`MOVQ [$]0`,-`MOVUPS X15` return &T4{} } @@ -47,6 +47,6 @@ type T5 struct { } func f5() *T5 { - // amd64:-`MOVQ\s[$]0`,-`MOVUPS\sX15` + // amd64:-`MOVQ [$]0`,-`MOVUPS X15` return &T5{} } |
