mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
Merge branch 'master' into dev.regabi
Change-Id: I098acdbc5e2676aeb8700d935e796a9c29d04b88
This commit is contained in:
commit
267975dc47
399 changed files with 3512 additions and 2229 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue