Skip to content

Commit 81cd9ff

Browse files
lxl-renrengopherbot
authored andcommitted
all: fix typos
Change-Id: Ica8d5e5799a4de532764ae86cdb623508d3a8e18 GitHub-Last-Rev: 3e97cca GitHub-Pull-Request: #58689 Reviewed-on: https://go-review.googlesource.com/c/go/+/471021 Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]>
1 parent 4d180f7 commit 81cd9ff

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/cmd/compile/internal/ssa/prove.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@ func prove(f *Func) {
908908
}
909909
// One might be tempted to create a v >= ft.zero relation for
910910
// all OpPhi's composed of only provably-positive values
911-
// but that bloats up the facts table for a very neglible gain.
911+
// but that bloats up the facts table for a very negligible gain.
912912
// In Go itself, very few functions get improved (< 5) at a cost of 5-7% total increase
913913
// of compile time.
914914
}

src/cmd/internal/obj/arm64/asm7.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1267,7 +1267,7 @@ func (c *ctxt7) flushpool(p *obj.Prog) {
12671267
q := c.newprog()
12681268
if p.Link == nil {
12691269
// If p is the last instruction of the function, insert an UNDEF instruction in case the
1270-
// exection fall through to the pool.
1270+
// execution fall through to the pool.
12711271
q.As = obj.AUNDEF
12721272
} else {
12731273
// Else insert a branch to the next instruction of p.

src/net/http/transport_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4969,7 +4969,7 @@ func testTLSHandshakeTrace(t *testing.T, mode testMode) {
49694969
t.Fatal("Expected TLSHandshakeStart to be called, but wasn't")
49704970
}
49714971
if !done {
4972-
t.Fatal("Expected TLSHandshakeDone to be called, but wasnt't")
4972+
t.Fatal("Expected TLSHandshakeDone to be called, but wasn't")
49734973
}
49744974
}
49754975

src/os/exec/exec_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,7 @@ func TestDedupEnvEcho(t *testing.T) {
10391039

10401040
func TestEnvNULCharacter(t *testing.T) {
10411041
if runtime.GOOS == "plan9" {
1042-
t.Skip("plan9 explicitly allows NUL in the enviroment")
1042+
t.Skip("plan9 explicitly allows NUL in the environment")
10431043
}
10441044
cmd := helperCommand(t, "echoenv", "FOO", "BAR")
10451045
cmd.Env = append(cmd.Environ(), "FOO=foo\x00BAR=bar")

0 commit comments

Comments
 (0)