diff options
Diffstat (limited to 'tests/testenv/mod.rs')
-rw-r--r-- | tests/testenv/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testenv/mod.rs b/tests/testenv/mod.rs index 188559d..c39fa69 100644 --- a/tests/testenv/mod.rs +++ b/tests/testenv/mod.rs @@ -129,7 +129,7 @@ fn normalize_output(s: &str, trim_start: bool, normalize_line: bool) -> String { .lines() .map(|line| { let line = if trim_start { line.trim_start() } else { line }; - let line = line.replace('/', &std::path::MAIN_SEPARATOR.to_string()); + let line = line.replace('/', std::path::MAIN_SEPARATOR_STR); if normalize_line { let mut words: Vec<_> = line.split_whitespace().collect(); words.sort_unstable(); |