]> Cypherpunks repositories - gostls13.git/commit
regexp: standardize error message format in find_test.go
authorjjpinto <jorgpinto@gmail.com>
Fri, 26 Dec 2025 17:13:09 +0000 (17:13 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 29 Dec 2025 20:19:21 +0000 (12:19 -0800)
commit9cb3edbfe9eb68113453cdaa436db31d28577ab8
treee9aa874a145acbecdb7f50ea952e6b623329b6c8
parentb3ed0627ce2476d438711e8fceafb39f3bd14b4e
regexp: standardize error message format in find_test.go

This change updates the test error messages in find_test.go to follow
the Go standard 'got, want' format.

It also replaces 'expected/should be' terminology with the project's
preferred style and improves the clarity of failure logs by using %q
to quote string values.

Change-Id: I17bfc60a06a879ce5e2c64d624c636e2c24135e9
GitHub-Last-Rev: e9613ac28cdce2fc16672b4aa42636b01ae0a80c
GitHub-Pull-Request: golang/go#77005
Reviewed-on: https://go-review.googlesource.com/c/go/+/732780
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@golang.org>
src/regexp/find_test.go