diff options
Diffstat (limited to 'tvix/eval/tests')
-rw-r--r-- | tvix/eval/tests/nix_oracle.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/eval/tests/nix_oracle.rs b/tvix/eval/tests/nix_oracle.rs index b777d289e03b..670926d9c8e4 100644 --- a/tvix/eval/tests/nix_oracle.rs +++ b/tvix/eval/tests/nix_oracle.rs @@ -51,12 +51,12 @@ fn nix_eval(expr: &str, strictness: Strictness) -> String { #[track_caller] fn compare_eval(expr: &str, strictness: Strictness) { let nix_result = nix_eval(expr, strictness); - let mut eval = tvix_eval::Evaluation::new(expr, None); + let mut eval = tvix_eval::Evaluation::default(); eval.strict = matches!(strictness, Strictness::Strict); eval.io_handle = Box::new(tvix_eval::StdIO); let tvix_result = eval - .evaluate() + .evaluate(expr, None) .value .expect("tvix evaluation should succeed") .to_string(); |