Commit e900964e authored by Andrew Z Allen's avatar Andrew Z Allen Committed by Brad Fitzpatrick

testing/quick: clarify that Config.MaxCount is from a flag

Document that the default quickcheck configuration is to run 100 times
and that there is a flag that configures it called "quickchecks".

Change-Id: I46fdab9d572e132ccc23ef907f9cc6b2d06b37c4
Reviewed-on: https://go-review.googlesource.com/c/go/+/172698Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 24a6478b
......@@ -180,7 +180,8 @@ type Config struct {
MaxCount int
// MaxCountScale is a non-negative scale factor applied to the
// default maximum.
// If zero, the default is unchanged.
// If zero, the default is configured by the -quickchecks flag
// which defaults to 100.
MaxCountScale float64
// Rand specifies a source of random numbers.
// If nil, a default pseudo-random source will be used.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment