Skip to content

Commit 02bd0fd

Browse files
committed
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 <[email protected]>
1 parent 825ff1e commit 02bd0fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/testing/quick/quick.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ type Config struct {
180180
MaxCount int
181181
// MaxCountScale is a non-negative scale factor applied to the
182182
// default maximum.
183-
// If zero, the default is configured by the -quickchecks flag
184-
// which defaults to 100.
183+
// A count of zero implies the default, which is usually 100
184+
// but can be set by the -quickchecks flag.
185185
MaxCountScale float64
186186
// Rand specifies a source of random numbers.
187187
// If nil, a default pseudo-random source will be used.

0 commit comments

Comments
 (0)