build(deps): Bump pgregory.net/rapid from 0.4.8 to 0.5.2 (#13096)
* build(deps): Bump pgregory.net/rapid from 0.4.8 to 0.5.2 Bumps [pgregory.net/rapid](https://github.com/flyingmutant/rapid) from 0.4.8 to 0.5.2. - [Release notes](https://github.com/flyingmutant/rapid/releases) - [Commits](https://github.com/flyingmutant/rapid/compare/v0.4.8...v0.5.2) --- updated-dependencies: - dependency-name: pgregory.net/rapid dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix group tests * update orm to 0.5.2 * Fix some tests * finish upgrading orm Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Amaury M <1293565+amaurym@users.noreply.github.com> Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com> Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
co-authored by
Amaury M
Aaron Craelius
Julien Robert
parent
d07b28d2bf
commit
084e129fcf
@@ -31,7 +31,7 @@ func testCodec(t *testing.T, spec testutil.TestFieldSpec) {
|
||||
})
|
||||
}
|
||||
|
||||
func testCodecNT(t *testing.T, fname protoreflect.Name, generator *rapid.Generator, nonTerminal bool) {
|
||||
func testCodecNT(t *testing.T, fname protoreflect.Name, generator *rapid.Generator[any], nonTerminal bool) {
|
||||
cdc, err := testutil.MakeTestCodec(fname, nonTerminal)
|
||||
assert.NilError(t, err)
|
||||
rapid.Check(t, func(t *rapid.T) {
|
||||
@@ -98,8 +98,8 @@ func TestCompactUInt32(t *testing.T) {
|
||||
|
||||
// randomized tests
|
||||
rapid.Check(t, func(t *rapid.T) {
|
||||
x := rapid.Uint32().Draw(t, "x").(uint32)
|
||||
y := rapid.Uint32().Draw(t, "y").(uint32)
|
||||
x := rapid.Uint32().Draw(t, "x")
|
||||
y := rapid.Uint32().Draw(t, "y")
|
||||
|
||||
bx := ormfield.EncodeCompactUint32(x)
|
||||
by := ormfield.EncodeCompactUint32(y)
|
||||
@@ -146,8 +146,8 @@ func TestCompactUInt64(t *testing.T) {
|
||||
|
||||
// randomized tests
|
||||
rapid.Check(t, func(t *rapid.T) {
|
||||
x := rapid.Uint64().Draw(t, "x").(uint64)
|
||||
y := rapid.Uint64().Draw(t, "y").(uint64)
|
||||
x := rapid.Uint64().Draw(t, "x")
|
||||
y := rapid.Uint64().Draw(t, "y")
|
||||
|
||||
bx := ormfield.EncodeCompactUint64(x)
|
||||
by := ormfield.EncodeCompactUint64(y)
|
||||
|
||||
Reference in New Issue
Block a user