mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
docs: fix spelling
Change-Id: Ib689e5793d9cb372e759c4f34af71f004010c822
GitHub-Last-Rev: d63798388e
GitHub-Pull-Request: golang/go#44259
Reviewed-on: https://go-review.googlesource.com/c/go/+/291949
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Matthew Dempsky <mdempsky@google.com>
Trust: Robert Griesemer <gri@golang.org>
This commit is contained in:
parent
43652dc46f
commit
6ba4a300d8
22 changed files with 32 additions and 32 deletions
|
|
@ -173,7 +173,7 @@ func TestParseGoobj(t *testing.T) {
|
|||
continue
|
||||
}
|
||||
if e.Type != EntryGoObj {
|
||||
t.Errorf("wrong type of object: wnat EntryGoObj, got %v", e.Type)
|
||||
t.Errorf("wrong type of object: want EntryGoObj, got %v", e.Type)
|
||||
}
|
||||
if !bytes.Contains(e.Obj.TextHeader, []byte(runtime.GOARCH)) {
|
||||
t.Errorf("text header does not contain GOARCH %s: %q", runtime.GOARCH, e.Obj.TextHeader)
|
||||
|
|
@ -204,7 +204,7 @@ func TestParseArchive(t *testing.T) {
|
|||
continue
|
||||
}
|
||||
if e.Type != EntryGoObj {
|
||||
t.Errorf("wrong type of object: wnat EntryGoObj, got %v", e.Type)
|
||||
t.Errorf("wrong type of object: want EntryGoObj, got %v", e.Type)
|
||||
}
|
||||
if !bytes.Contains(e.Obj.TextHeader, []byte(runtime.GOARCH)) {
|
||||
t.Errorf("text header does not contain GOARCH %s: %q", runtime.GOARCH, e.Obj.TextHeader)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue