summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDmitri Shuralyov <dmitshur@golang.org>2022-12-08 12:53:26 -0500
committerGopher Robot <gobot@golang.org>2022-12-08 18:29:35 +0000
commitf368abb46e15419c95d3f5933e9344476e1efc2a (patch)
treea28f0b38a53394dc2048675365aa073b571637d9 /doc
parent7973b0e50861c49c1852a545b51b7ab977135d6d (diff)
downloadgo-git-f368abb46e15419c95d3f5933e9344476e1efc2a.tar.gz
doc/go1.20: correct test binary -v flag value for test2json
The -v flag value is "test2json", not "json", since it emits output in a custom format that the cmd/test2json tool interprets. The cmd/test2json documentation and implementation have this right. For #54202. Change-Id: I2b52861d926e14488aa9fc89fff8c26da32ca710 Reviewed-on: https://go-review.googlesource.com/c/go/+/456124 Reviewed-by: Bryan Mills <bcmills@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/go1.20.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/go1.20.html b/doc/go1.20.html
index 28d3c8224d..e479fce8a1 100644
--- a/doc/go1.20.html
+++ b/doc/go1.20.html
@@ -102,9 +102,9 @@ Do not send CLs removing the interior tags from such phrases.
Programs that run <code>go</code> <code>test</code> <code>-json</code>
do not need any updates.
Programs that invoke <code>go</code> <code>tool</code> <code>test2json</code>
- directly should now run the test binary with <code>-v=json</code>
- (for example, <code>go</code> <code>test</code> <code>-v=json</code>
- or <code>./pkg.test</code> <code>-test.v=json</code>)
+ directly should now run the test binary with <code>-v=test2json</code>
+ (for example, <code>go</code> <code>test</code> <code>-v=test2json</code>
+ or <code>./pkg.test</code> <code>-test.v=test2json</code>)
instead of plain <code>-v</code>.
</p>