assert_output_success

Function assert_output_success 

Source
pub fn assert_output_success(output: &ToolOutput, expected_text: &str)
Expand description

Assert that a ToolOutput is successful with expected text.

§Panics

Panics if the output is an error or doesn’t contain the expected text.