diff options
| author | Than McIntosh <thanm@google.com> | 2022-12-12 17:05:27 -0500 |
|---|---|---|
| committer | Than McIntosh <thanm@google.com> | 2022-12-13 00:26:29 +0000 |
| commit | 5360f253cd8f1f8962e6ca76cb2ff42564265289 (patch) | |
| tree | e4fa18451717aa544edac271fb7be2ded7bf6326 | |
| parent | a69753836928bab0cc4c3a2e6fc127572c1787bf (diff) | |
| download | go-x-website-5360f253cd8f1f8962e6ca76cb2ff42564265289.tar.xz | |
_content/testing/coverage: fix typo in reporting section
Fix typo in reporting section ("-i" and "percent" transposed).
Fixes golang/go#57268.
Change-Id: I96c49a1ec6f2ef8f4b07d84e0de4de8dc5c4ea5e
Reviewed-on: https://go-review.googlesource.com/c/website/+/456776
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
| -rw-r--r-- | _content/testing/coverage/index.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_content/testing/coverage/index.md b/_content/testing/coverage/index.md index e485bdf7..7f066864 100644 --- a/_content/testing/coverage/index.md +++ b/_content/testing/coverage/index.md @@ -150,7 +150,7 @@ This section discusses how to use "`go tool covdata`" to produce human-readable ### Reporting percent statements covered -To report a "percent statements covered" metric for each instrumented package, use the command "`go tool covdata -i=<directory> percent`". +To report a "percent statements covered" metric for each instrumented package, use the command "`go tool covdata percent -i=<directory>`". Using the example from the [running](#running) section above: ``` |
