aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Liao <sean@liao.dev>2025-01-12 18:51:45 +0000
committerGopher Robot <gobot@golang.org>2025-01-12 21:01:32 -0800
commit2946a7c0309d5949021a5fd5c7131a279f348a0a (patch)
tree2911bf2adf462591a700d4c9b823b8158a0ea786
parent409cb7b975690fe2868f9ac2d40093108930dd49 (diff)
downloadgo-x-website-2946a7c0309d5949021a5fd5c7131a279f348a0a.tar.xz
_content: use new location for build coverage fix-links
Fixes golang/go#71237 Change-Id: I21ce5bee953fab3f36aecb61acbc0bd962440cbb Reviewed-on: https://go-review.googlesource.com/c/website/+/642355 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Commit-Queue: Ian Lance Taylor <iant@google.com>
-rw-r--r--_content/blog/go1.20.md2
-rw-r--r--_content/doc/go1.20.md2
-rw-r--r--_content/doc/index.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/_content/blog/go1.20.md b/_content/blog/go1.20.md
index db42bc3e..e9d4802b 100644
--- a/_content/blog/go1.20.md
+++ b/_content/blog/go1.20.md
@@ -42,7 +42,7 @@ This clarifies what happens in case of panics during comparisons.
## Tool improvements
-- The [`cover` tool](/testing/coverage) now can collect coverage profiles of whole programs,
+- The [`cover` tool](/doc/build-cover) now can collect coverage profiles of whole programs,
not just of unit tests.
- The [`go` tool](/cmd/go) no longer relies on pre-compiled standard library
package archives in the `$GOROOT/pkg` directory, and they are no longer
diff --git a/_content/doc/go1.20.md b/_content/doc/go1.20.md
index a4220e0a..ee91a628 100644
--- a/_content/doc/go1.20.md
+++ b/_content/doc/go1.20.md
@@ -228,7 +228,7 @@ To collect coverage data for a program, build it with `go`
binary with the environment variable `GOCOVERDIR` set
to an output directory for coverage profiles.
See the
-['coverage for integration tests' landing page](/testing/coverage) for more on how to get started.
+['coverage for integration tests' landing page](/doc/build-cover) for more on how to get started.
For details on the design and implementation, see the
[proposal](/issue/51430).
diff --git a/_content/doc/index.html b/_content/doc/index.html
index d4ec6d89..58673326 100644
--- a/_content/doc/index.html
+++ b/_content/doc/index.html
@@ -124,7 +124,7 @@ When your code uses external packages, those packages (distributed as modules) b
Main documentation page for Go fuzzing.
</p>
-<h3 id="coverage"><a href="/testing/coverage" aria-describedby="index-description">Coverage for Go applications</a></h3>
+<h3 id="coverage"><a href="/doc/build-cover" aria-describedby="index-description">Coverage for Go applications</a></h3>
<p>
Main documentation page for coverage testing of Go applications.
</p>