diff --git a/src/testing/quick/quick.go b/src/testing/quick/quick.go index 0e36810eb6..13c56cdf48 100644 --- a/src/testing/quick/quick.go +++ b/src/testing/quick/quick.go @@ -249,7 +249,7 @@ func Check(f interface{}, config *Config) (err error) { } if fType.NumOut() != 1 { - err = SetupError("function returns more than one value.") + err = SetupError("function does not return one value") return } if fType.Out(0).Kind() != reflect.Bool {