fix(tvix/eval): proptests require arbitrary feature

`cargo test --no-default-features` fails, if we don't conditionalize
this on the `arbitrary` feature too.

Change-Id: I81a277810119fed0cfc37c942c422f731aa14b2e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11726
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: Connor Brewster <cbrewster@hey.com>
This commit is contained in:
Florian Klink 2024-05-26 20:32:22 +02:00 committed by flokli
parent baa39d9d09
commit 5405ed9dc6
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ mod vm;
mod warnings;
mod nix_search_path;
#[cfg(test)]
#[cfg(all(test, feature = "arbitrary"))]
mod properties;
#[cfg(test)]
mod test_utils;

View file

@ -883,7 +883,7 @@ impl Display for NixString {
}
}
#[cfg(test)]
#[cfg(all(test, feature = "arbitrary"))]
mod tests {
use test_strategy::proptest;