Function mz_testdrive::run_string

source ·
pub async fn run_string(
    config: &Config,
    filename: Option<&Path>,
    contents: &str
) -> Result<(), Error>
Expand description

Runs a testdrive script stored in a string.

The script in contents is used verbatim. The provided filename is used only as output in error messages and such. No attempt is made to read filename.