Skip to content

Commit

Permalink
_content: use new location for build coverage fix-links
Browse files Browse the repository at this point in the history
Fixes golang/go#71237

Change-Id: I21ce5bee953fab3f36aecb61acbc0bd962440cbb
Reviewed-on: https://go-review.googlesource.com/c/website/+/642355
Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Auto-Submit: Ian Lance Taylor <[email protected]>
Commit-Queue: Ian Lance Taylor <[email protected]>
  • Loading branch information
seankhliao authored and gopherbot committed Jan 13, 2025
1 parent 409cb7b commit 2946a7c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _content/blog/go1.20.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _content/doc/go1.20.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down
2 changes: 1 addition & 1 deletion _content/doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ <h3 id="fuzzing"><a href="/security/fuzz" aria-describedby="index-description">F
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>
Expand Down

0 comments on commit 2946a7c

Please sign in to comment.