test: add proptest arbitrary as a feature

This commit is contained in:
Anand Balakrishnan 2023-04-04 09:56:19 -07:00
parent 00b03a509f
commit 7c8c833469
No known key found for this signature in database
4 changed files with 9 additions and 178 deletions

View file

@ -264,7 +264,7 @@ impl ExprBuilder {
}
}
#[cfg(test)]
#[cfg(any(test, feature = "arbitrary"))]
pub mod arbitrary {
//! Helper functions to generate arbitrary expressions using [`proptest`].
use proptest::prelude::*;