Skip to content

Commit db6032d

Browse files
Ikko Ashiminerandall77
Ikko Ashimine
authored andcommitted
cmd/compile: fix message typo
occurences -> occurrences Change-Id: Ia81671f5de8a24ddd303a77b4580e8c726f29122 GitHub-Last-Rev: 11f9ab9 GitHub-Pull-Request: #43097 Reviewed-on: https://go-review.googlesource.com/c/go/+/276612 Reviewed-by: Robert Griesemer <[email protected]> Reviewed-by: Keith Randall <[email protected]>
1 parent 854a2f8 commit db6032d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/compile/internal/logopt/logopt_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func want(t *testing.T, out string, desired string) {
5151

5252
func wantN(t *testing.T, out string, desired string, n int) {
5353
if strings.Count(out, desired) != n {
54-
t.Errorf("expected exactly %d occurences of %s in \n%s", n, desired, out)
54+
t.Errorf("expected exactly %d occurrences of %s in \n%s", n, desired, out)
5555
}
5656
}
5757

0 commit comments

Comments
 (0)