diff --git a/property_tests/arbitraries/candid/constructed/variant_arb/index.ts b/property_tests/arbitraries/candid/constructed/variant_arb/index.ts index 2f62bc2922..7f24f3ee2e 100644 --- a/property_tests/arbitraries/candid/constructed/variant_arb/index.ts +++ b/property_tests/arbitraries/candid/constructed/variant_arb/index.ts @@ -15,7 +15,7 @@ export type Variant = { export function VariantArb(): fc.Arbitrary> { return CandidValueAndMetaArbGenerator( VariantDefinitionArb(candidDefinitionMemo, [], { - n: DEFAULT_DEF_MAX_DEPTH + n: DEFAULT_DEF_MAX_DEPTH - 1 }), VariantValuesArb );