summaryrefslogtreecommitdiff
path: root/cli/tests/integration/eval_tests.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-11-17 10:05:42 -0500
committerGitHub <noreply@github.com>2023-11-17 10:05:42 -0500
commit29011d592968d4d645b909ee28d5fffe0473f285 (patch)
tree6fff9ff335ce75898060d1c658b028d033b1abdc /cli/tests/integration/eval_tests.rs
parentb7d14d9bd56b392d95f31fe90f66a469d3ce4a87 (diff)
chore: various improvements to tests (#21222)
Diffstat (limited to 'cli/tests/integration/eval_tests.rs')
-rw-r--r--cli/tests/integration/eval_tests.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/integration/eval_tests.rs b/cli/tests/integration/eval_tests.rs
index 99a0d674f..daf1d8561 100644
--- a/cli/tests/integration/eval_tests.rs
+++ b/cli/tests/integration/eval_tests.rs
@@ -8,7 +8,7 @@ fn eval_p() {
.arg("eval")
.arg("-p")
.arg("1+2")
- .stdout(std::process::Stdio::piped())
+ .stdout_piped()
.spawn()
.unwrap()
.wait_with_output()
@@ -28,7 +28,7 @@ fn eval_randomness() {
.arg("eval")
.arg("-p")
.arg("Math.random()")
- .stdout(std::process::Stdio::piped())
+ .stdout_piped()
.spawn()
.unwrap()
.wait_with_output()