Function subplotlib::steplibrary::files::create_from_text::call
source · [−]pub fn call(
___context___: &ScenarioContext,
text: &str,
filename: &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_create_from_text(context: &ScenarioContext) {
//...
create_from_text::call(context, text, filename)?;
// ...
}