mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: fix typos as reported by 'misspell'
Change-Id: I904b8655f21743189814bccf24073b6fbb9fc56d
GitHub-Last-Rev: b032c14394
GitHub-Pull-Request: golang/go#29997
Reviewed-on: https://go-review.googlesource.com/c/160421
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
337662f7ca
commit
d090429ea9
11 changed files with 19 additions and 19 deletions
|
|
@ -26,7 +26,7 @@ func TestIntendedInlining(t *testing.T) {
|
|||
t.Parallel()
|
||||
|
||||
// want is the list of function names (by package) that should
|
||||
// be inlinable. If they have no callers in thier packages, they
|
||||
// be inlinable. If they have no callers in their packages, they
|
||||
// might not actually be inlined anywhere.
|
||||
want := map[string][]string{
|
||||
"runtime": {
|
||||
|
|
@ -218,7 +218,7 @@ func TestIntendedInlining(t *testing.T) {
|
|||
if m := canInline.FindStringSubmatch(line); m != nil {
|
||||
fname := m[1]
|
||||
fullname := curPkg + "." + fname
|
||||
// If function must be inlined somewhere, beeing inlinable is not enough
|
||||
// If function must be inlined somewhere, being inlinable is not enough
|
||||
if _, ok := must[fullname]; !ok {
|
||||
delete(notInlinedReason, fullname)
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue