From ff4b03f233e19ec607a9c88dc1d71016aeaeed4b Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 6 Mar 2023 09:16:50 -0500 Subject: chore(tests): ability to capture stdout and stderr separately (#18035) This is to allow making assertions on stdout and stderr separately. --- cli/tests/integration/bench_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tests') 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" ); } -- cgit v1.2.3