aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2019-04-19 07:08:37 +1000
committerRob Pike <r@golang.org>2019-04-18 21:21:21 +0000
commit02bd0fd39cb6ffd840901ea751a61047ccad47cb (patch)
treeea1f42078f373fe845430440094a2e137454a113 /src
parent825ff1e3171a97fba1f29473d0be484ebfdc08b4 (diff)
downloadgo-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')
-rw-r--r--src/testing/quick/quick.go4
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.