cmd/go: document -json in testflag

This commit is contained in:
180909 2021-08-13 11:13:05 +08:00
parent dea23e9ca8
commit 8b4e09d78c
2 changed files with 6 additions and 0 deletions

View File

@ -2658,6 +2658,9 @@
// -failfast
// Do not start new tests after the first test failure.
//
// -json
// Make the test results available in JSON.
//
// -list regexp
// List tests, benchmarks, or examples matching the regular expression.
// No tests, benchmarks or examples will be run. This will only

View File

@ -242,6 +242,9 @@ control the execution of any test:
-failfast
Do not start new tests after the first test failure.
-json
Make the test results available in JSON.
-list regexp
List tests, benchmarks, or examples matching the regular expression.
No tests, benchmarks or examples will be run. This will only