diff options
author | Ikko Ashimine <eltociear@gmail.com> | 2020-12-09 14:17:56 +0000 |
---|---|---|
committer | Keith Randall <khr@golang.org> | 2020-12-09 16:38:26 +0000 |
commit | db6032dd0cbce3e4feff0160287cbe3d9234a540 (patch) | |
tree | 861579d2053d19b316afdfc92249084418cda58d /src/cmd/compile/internal/logopt | |
parent | 854a2f8e01a554d8052445563863775406a04b71 (diff) | |
download | go-db6032dd0cbce3e4feff0160287cbe3d9234a540.tar.gz go-db6032dd0cbce3e4feff0160287cbe3d9234a540.zip |
cmd/compile: fix message typo
occurences -> occurrences
Change-Id: Ia81671f5de8a24ddd303a77b4580e8c726f29122
GitHub-Last-Rev: 11f9ab9f8c2c9acd70bcf170930426547d9b63eb
GitHub-Pull-Request: golang/go#43097
Reviewed-on: https://go-review.googlesource.com/c/go/+/276612
Reviewed-by: Robert Griesemer <gri@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/logopt')
-rw-r--r-- | src/cmd/compile/internal/logopt/logopt_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/logopt/logopt_test.go b/src/cmd/compile/internal/logopt/logopt_test.go index 51bab49518..e121c1abd2 100644 --- a/src/cmd/compile/internal/logopt/logopt_test.go +++ b/src/cmd/compile/internal/logopt/logopt_test.go @@ -51,7 +51,7 @@ func want(t *testing.T, out string, desired string) { func wantN(t *testing.T, out string, desired string, n int) { if strings.Count(out, desired) != n { - t.Errorf("expected exactly %d occurences of %s in \n%s", n, desired, out) + t.Errorf("expected exactly %d occurrences of %s in \n%s", n, desired, out) } } |