Function subplotlib::steplibrary::files::file_matches_regex::call

source ·
pub fn call(
    ___context___: &ScenarioContext,
    filename: &Path,
    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("Datadir")]
fn defer_to_file_matches_regex(context: &ScenarioContext) {
    //...
    file_matches_regex::call(context, filename, regex)?;
    // ...
}