Test fixes and rebase conflicts, round 3

This commit is contained in:
Alex Crichton
2015-03-23 17:29:51 -07:00
parent 253992eb38
commit c5c3de0cf4
6 changed files with 3 additions and 6 deletions

View File

@@ -834,7 +834,7 @@ mod tests {
fn split_paths_windows() {
fn check_parse(unparsed: &str, parsed: &[&str]) -> bool {
split_paths(unparsed).collect::<Vec<_>>() ==
parsed.iter().map(|s| PathBuf::new(*s)).collect::<Vec<_>>()
parsed.iter().map(|s| PathBuf::from(*s)).collect::<Vec<_>>()
}
assert!(check_parse("", &mut [""]));