fix test on windows

This commit is contained in:
phiresky 2019-06-18 16:20:50 +02:00
parent 6245e4921d
commit 268c313c2f

View File

@ -131,7 +131,7 @@ mod tests {
("hi/test.hi.bz2", "hi/test.hi"),
("hello.tar.gz", "hello.tar"),
] {
assert_eq!(get_inner_filename(&PathBuf::from(a)).to_string_lossy(), *b);
assert_eq!(get_inner_filename(&PathBuf::from(a)), PathBuf::from(*b));
}
}
}