Function subplotlib::steplibrary::runcmd::stderr_matches_regex::call
source · [−]pub fn call(___context___: &ScenarioContext, regex: &str) -> StepResult
Expand description
Call this step function from another.
If you want to call this step function from another, you will need to do something like this:
ⓘ
#[step]
#[context("Runcmd")]
fn defer_to_stderr_matches_regex(context: &ScenarioContext) {
//...
stderr_matches_regex::call(context, regex)?;
// ...
}