pub fn match_with_without(
    actual: &str,
    with: &[String],
    without: &[String],
    cwd: Option<&Path>
) -> Result<()>
Expand description

Checks that the given string has a line that contains the given patterns, and that line also does not contain the without patterns.

See Patterns for more information on pattern matching.

See crate::Execs::with_stderr_line_without for an example and cautions against using.