]> Cypherpunks repositories - gostls13.git/commit
cmd/go: run 'go help documentation' through gofmt in TestDocsUpToDate
authorRuss Cox <rsc@golang.org>
Fri, 4 Feb 2022 16:55:33 +0000 (11:55 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 18 Mar 2022 16:57:07 +0000 (16:57 +0000)
commit0a49f706e172443d817cfb3d44e5b366da1cc72a
tree887bc7751297aa923b74226e2620df897234f762
parent7747c33a41491be74da65b116718f4df7a2f8337
cmd/go: run 'go help documentation' through gofmt in TestDocsUpToDate

mkalldocs.sh runs gofmt on the output, but the test does not.
If go help documentation and gofmt disagree, the test will fail.
Fix that.

Change-Id: I837374a2d36cb5d71278ecefe2a7b6544622c576
Reviewed-on: https://go-review.googlesource.com/c/go/+/384256
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/go/help_test.go