pulumi/sdk/go/common/resource/testing
Abhinav Gupta 5e346dfac9
deps: Upgrade to pgregory.net/rapid v0.5
The 0.5 release of rapid exposes a generics-based API
instead of `interface{}` and casting everywhere.
This makes for much cleaner usage.

There are a handful of cases where strongly typed generators,
e.g. `Generator[bool]`, need to be turned into `interface{}` (`any`),
which is doable with `AsAny()`.

API changes:
The only non-test changes to the SDK package are in
go/common/resource/testing, which contains testing utiltiies.
Functions that previously returned the old, untyped `Generator`
now return a strongly typed `Generator[T]`.
2023-02-16 12:04:07 -08:00
..
assert.go [testing] Add rapid generators for PropertyValues. (#8009) 2021-09-21 15:02:10 -07:00
rapid.go deps: Upgrade to pgregory.net/rapid v0.5 2023-02-16 12:04:07 -08:00