cmd/compile: fix message typo

occurences -> occurrences
This commit is contained in:
Ikko Ashimine 2020-12-09 23:02:21 +09:00 committed by GitHub
parent 854a2f8e01
commit 11f9ab9f8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
}