Fix libtiffpic test for Windows
This commit is contained in:
1 parent
9a9193345c
commit
f74169d4af
1 file changed
+2
-1
@@ -115,9 +115,10 @@ fn main() {
|
|||||||
let Some(path) = entry.path().to_str() else {
|
let Some(path) = entry.path().to_str() else {
|
||||||
continue;
|
continue;
|
||||||
};
|
};
|
||||||
|
let path = path.replace('\\', "/"); // always use UNIX path separators
|
||||||
|
|
||||||
// Mark this path as consumed in either case by removing it.
|
// Mark this path as consumed in either case by removing it.
|
||||||
let Some(should_decode) = candidates.remove(path) else {
|
let Some(should_decode) = candidates.remove(path.as_str()) else {
|
||||||
panic!("File {} not in reference list", path);
|
panic!("File {} not in reference list", path);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user