]> Cypherpunks repositories - gostls13.git/commitdiff
all: fix typos
authorpgxiaolianzi <gnnu_d13@163.com>
Mon, 27 Feb 2023 06:51:55 +0000 (06:51 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 28 Feb 2023 03:43:42 +0000 (03:43 +0000)
Change-Id: Ica8d5e5799a4de532764ae86cdb623508d3a8e18
GitHub-Last-Rev: 3e97cca9de3885f2fe0d7deb776e59cc1c73146d
GitHub-Pull-Request: golang/go#58689
Reviewed-on: https://go-review.googlesource.com/c/go/+/471021
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>

src/cmd/compile/internal/ssa/prove.go
src/cmd/internal/obj/arm64/asm7.go
src/net/http/transport_test.go
src/os/exec/exec_test.go

index 26a349997e09ed45e173918a77334ef8d953181c..550eb90bedc716e54f41255b7ce65b55ae97c00f 100644 (file)
@@ -908,7 +908,7 @@ func prove(f *Func) {
                                }
                                // One might be tempted to create a v >= ft.zero relation for
                                // all OpPhi's composed of only provably-positive values
-                               // but that bloats up the facts table for a very neglible gain.
+                               // but that bloats up the facts table for a very negligible gain.
                                // In Go itself, very few functions get improved (< 5) at a cost of 5-7% total increase
                                // of compile time.
                        }
index 7dc872972888530498ca418938ad1c9731132e2a..c8fb7425579b4339b0d4fca5b1d7b7a6e2d3c9dc 100644 (file)
@@ -1267,7 +1267,7 @@ func (c *ctxt7) flushpool(p *obj.Prog) {
                q := c.newprog()
                if p.Link == nil {
                        // If p is the last instruction of the function, insert an UNDEF instruction in case the
-                       // exection fall through to the pool.
+                       // execution fall through to the pool.
                        q.As = obj.AUNDEF
                } else {
                        // Else insert a branch to the next instruction of p.
index cb5af755dbb42b240dfbecd7b71ecaf666dc8b49..cae98767c79b26a557f6cf43ad7971b4e5f2a1b0 100644 (file)
@@ -4969,7 +4969,7 @@ func testTLSHandshakeTrace(t *testing.T, mode testMode) {
                t.Fatal("Expected TLSHandshakeStart to be called, but wasn't")
        }
        if !done {
-               t.Fatal("Expected TLSHandshakeDone to be called, but wasnt't")
+               t.Fatal("Expected TLSHandshakeDone to be called, but wasn't")
        }
 }
 
index c2f643a6454fcbcd7b1a01aaf7bca9acb76d0bf7..9f9cb598d8a92fc2bf0b2713390e0a8eeba14ee8 100644 (file)
@@ -1039,7 +1039,7 @@ func TestDedupEnvEcho(t *testing.T) {
 
 func TestEnvNULCharacter(t *testing.T) {
        if runtime.GOOS == "plan9" {
-               t.Skip("plan9 explicitly allows NUL in the enviroment")
+               t.Skip("plan9 explicitly allows NUL in the environment")
        }
        cmd := helperCommand(t, "echoenv", "FOO", "BAR")
        cmd.Env = append(cmd.Environ(), "FOO=foo\x00BAR=bar")