From 07b4fee5810005357ba64d2934de90dee244f51d Mon Sep 17 00:00:00 2001 From: guoguangwu Date: Fri, 8 Mar 2024 02:59:26 +0000 Subject: [PATCH] cmd/link: fix typo in comment 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 Auto-Submit: Ian Lance Taylor Reviewed-by: Ian Lance Taylor LUCI-TryBot-Result: Go LUCI --- src/cmd/link/link_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cmd/link/link_test.go b/src/cmd/link/link_test.go index 6afde4b085..d61440b369 100644 --- a/src/cmd/link/link_test.go +++ b/src/cmd/link/link_test.go @@ -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) -- 2.48.1