]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/link: fix typo in comment
authorguoguangwu <guoguangwug@gmail.com>
Fri, 8 Mar 2024 02:59:26 +0000 (02:59 +0000)
committerGopher Robot <gobot@golang.org>
Sat, 9 Mar 2024 00:16:49 +0000 (00:16 +0000)
Change-Id: Ib24841f4823c357ddeefa28435c2b80867d752d2
GitHub-Last-Rev: b0c6c58b24af43b0a0e759b152eb245b3bf1ce4e
GitHub-Pull-Request: golang/go#66182
Reviewed-on: https://go-review.googlesource.com/c/go/+/570015
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/cmd/link/link_test.go

index 6afde4b085db8a06964683b9650b9e1d03f1bb98..d61440b36951d7ddc0ad54097f3efd5de0801cee 100644 (file)
@@ -1198,8 +1198,8 @@ func main() {}
        }
        exe := filepath.Join(tmpdir, "x.exe")
 
-       // Use a deterministc tmp directory so the temporary file paths are
-       // deterministc.
+       // Use a deterministic tmp directory so the temporary file paths are
+       // deterministic.
        linktmp := filepath.Join(tmpdir, "linktmp")
        if err := os.Mkdir(linktmp, 0777); err != nil {
                t.Fatal(err)
@@ -1219,7 +1219,7 @@ func main() {}
                        t.Fatal(err)
                }
 
-               // extract the "host link" invocaton
+               // extract the "host link" invocation
                j := bytes.Index(out, []byte("\nhost link:"))
                if j == -1 {
                        t.Fatalf("host link step not found, output:\n%s", out)