aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorZhou Peng <p@ctriple.cn>2018-04-27 13:26:21 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2018-04-27 13:29:12 +0000
commit1f56499d4d69b74015e6ed23c5f12e8601f1aadf (patch)
tree92b0ebb86c76f82c7656500f5529c8a5bda09d54 /src/testing
parente656aebb5b9e0437e050c3050e50a658c0244777 (diff)
downloadgo-1f56499d4d69b74015e6ed23c5f12e8601f1aadf.tar.xz
testing: fix typo mistake
Change-Id: I561640768c43491288e7f5bd1a34247787793dab Reviewed-on: https://go-review.googlesource.com/109935 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/match.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/match.go b/src/testing/match.go
index 89e30d01a7..b18c6e7f38 100644
--- a/src/testing/match.go
+++ b/src/testing/match.go
@@ -110,7 +110,7 @@ func splitRegexp(s string) []string {
}
// unique creates a unique name for the given parent and subname by affixing it
-// with one ore more counts, if necessary.
+// with one or more counts, if necessary.
func (m *matcher) unique(parent, subname string) string {
name := fmt.Sprintf("%s/%s", parent, subname)
empty := subname == ""