summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-03-06 09:16:50 -0500
committerGitHub <noreply@github.com>2023-03-06 09:16:50 -0500
commitff4b03f233e19ec607a9c88dc1d71016aeaeed4b (patch)
tree9b2431c7748630ed393f0ba2c082c18c9f160e3a /cli/tests
parenteea742ec6aee458ba4ffd39e2284c1c03a4cc9f4 (diff)
chore(tests): ability to capture stdout and stderr separately (#18035)
This is to allow making assertions on stdout and stderr separately.
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/integration/bench_tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/integration/bench_tests.rs b/cli/tests/integration/bench_tests.rs
index 6da30857f..b2cd38475 100644
--- a/cli/tests/integration/bench_tests.rs
+++ b/cli/tests/integration/bench_tests.rs
@@ -196,7 +196,7 @@ fn recursive_permissions_pledge() {
.run();
output.assert_exit_code(1);
assert_contains!(
- output.text(),
+ output.combined_output(),
"pledge test permissions called before restoring previous pledge"
);
}