Function testdrive::run_string[][src]

pub async fn run_string(
    config: &Config,
    filename: &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.