]> Cypherpunks repositories - gostls13.git/commit
testing/quick: support generation of array types in Value
authorChris Kastorff <encryptio@gmail.com>
Wed, 4 Feb 2015 12:43:00 +0000 (04:43 -0800)
committerJosh Bleecher Snyder <josharian@gmail.com>
Wed, 4 Feb 2015 16:17:07 +0000 (16:17 +0000)
commit3e9ed273a244da5d96472656af911a6d2714a9e8
tree9dca14b8bf97c3ab874b46ba0af78f3fa7620bcc
parent22f337656d8e4b244e45bc27c21ed3379be58e3d
testing/quick: support generation of array types in Value

Generating array types like [4]int would fail even though the int type
is generatable. Allow generating values of array types when the inner
type is generatable.

Change-Id: I7d71b3c18edb3737e2fec1ddf5e36c9dc8401971
Reviewed-on: https://go-review.googlesource.com/3865
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/testing/quick/quick.go
src/testing/quick/quick_test.go