1
0
mirror of https://github.com/golang/go synced 2024-09-28 23:14:38 -06:00

cmd/link: fix typo in comment

Change-Id: Ib24841f4823c357ddeefa28435c2b80867d752d2
GitHub-Last-Rev: b0c6c58b24
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>
This commit is contained in:
guoguangwu 2024-03-08 02:59:26 +00:00 committed by Gopher Robot
parent f82a3616a9
commit 07b4fee581

View 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)