mirror of
https://github.com/FliegendeWurst/ripgrep-all.git
synced 2024-11-24 12:24:56 +00:00
fix test on windows
This commit is contained in:
parent
6245e4921d
commit
268c313c2f
@ -131,7 +131,7 @@ mod tests {
|
|||||||
("hi/test.hi.bz2", "hi/test.hi"),
|
("hi/test.hi.bz2", "hi/test.hi"),
|
||||||
("hello.tar.gz", "hello.tar"),
|
("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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user