diff options
| author | Rob Pike <r@golang.org> | 2019-04-19 07:08:37 +1000 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2019-04-18 21:21:21 +0000 |
| commit | 02bd0fd39cb6ffd840901ea751a61047ccad47cb (patch) | |
| tree | ea1f42078f373fe845430440094a2e137454a113 /src/testing/quick/quick.go | |
| parent | 825ff1e3171a97fba1f29473d0be484ebfdc08b4 (diff) | |
| download | go-02bd0fd39cb6ffd840901ea751a61047ccad47cb.tar.xz | |
testing/quick: simplify explanation of -quickchecks flag
CL 172698 documented this flag but the description was missing
punctuation and could be clearer.
Change-Id: I310d91ae8c6b947ce7d1ae7559882f49778f770a
Reviewed-on: https://go-review.googlesource.com/c/go/+/172817
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/testing/quick/quick.go')
| -rw-r--r-- | src/testing/quick/quick.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testing/quick/quick.go b/src/testing/quick/quick.go index 2cfb6c85db..c01647ecf0 100644 --- a/src/testing/quick/quick.go +++ b/src/testing/quick/quick.go @@ -180,8 +180,8 @@ type Config struct { MaxCount int // MaxCountScale is a non-negative scale factor applied to the // default maximum. - // If zero, the default is configured by the -quickchecks flag - // which defaults to 100. + // A count of zero implies the default, which is usually 100 + // but can be set by the -quickchecks flag. MaxCountScale float64 // Rand specifies a source of random numbers. // If nil, a default pseudo-random source will be used. |
