fn normalize_expected(expected: &str, cwd: Option<&Path>) -> String
Expand description

Normalizes the expected string so that it can be compared against the actual output.