change the boolean name to a more descriptive version

This commit is contained in:
alpaylan 2024-12-15 12:50:38 -05:00
parent 8e094de6aa
commit ec1c796650

View file

@ -469,8 +469,8 @@ impl ArbitraryFrom<(&Table, bool)> for CompoundPredicate {
impl ArbitraryFrom<Table> for Predicate {
fn arbitrary_from<R: Rng>(rng: &mut R, table: &Table) -> Self {
let b = rng.gen_bool(0.5);
CompoundPredicate::arbitrary_from(rng, &(table, b)).0
let predicate_value = rng.gen_bool(0.5);
CompoundPredicate::arbitrary_from(rng, &(table, predicate_value)).0
}
}