diff options
Diffstat (limited to 'tvix/eval/tests')
-rw-r--r-- | tvix/eval/tests/nix_oracle.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tvix/eval/tests/nix_oracle.rs b/tvix/eval/tests/nix_oracle.rs index 4910a18bec08..e241a26f8ffd 100644 --- a/tvix/eval/tests/nix_oracle.rs +++ b/tvix/eval/tests/nix_oracle.rs @@ -40,7 +40,10 @@ fn nix_eval(expr: &str) -> String { #[track_caller] fn compare_eval(expr: &str) { let nix_result = nix_eval(expr); - let tvix_result = tvix_eval::Evaluation::new(expr, None) + let mut eval = tvix_eval::Evaluation::new(expr, None); + eval.io_handle = Box::new(tvix_eval::StdIO); + + let tvix_result = eval .evaluate() .value .expect("tvix evaluation should succeed") |