]> Cypherpunks repositories - gostls13.git/commitdiff
testing/quick: fix comment
authorDmitry Vyukov <dvyukov@google.com>
Fri, 27 Mar 2015 12:47:44 +0000 (15:47 +0300)
committerDmitry Vyukov <dvyukov@google.com>
Fri, 27 Mar 2015 13:00:53 +0000 (13:00 +0000)
There is no top-level Values function.

Change-Id: I3ea2eea0b5f77f3e1a3f75d1a6472507ef2888bb
Reviewed-on: https://go-review.googlesource.com/8196
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/testing/quick/quick.go

index edcaaa091aba27f19513a2744f037f9dd2d74c03..35b7b636b4ea71a9eca5a42e533e1c365fc2a28c 100644 (file)
@@ -161,7 +161,7 @@ type Config struct {
        Rand *rand.Rand
        // If non-nil, the Values function generates a slice of arbitrary
        // reflect.Values that are congruent with the arguments to the function
-       // being tested. Otherwise, the top-level Values function is used
+       // being tested. Otherwise, the top-level Value function is used
        // to generate them.
        Values func([]reflect.Value, *rand.Rand)
 }