[tests] Change the path type to OsString for compatibility

This commit is contained in:
Ming-Hung Tsai
2021-07-20 15:07:12 +08:00
parent b92151d527
commit 66b49e6f3d
12 changed files with 61 additions and 30 deletions

View File

@@ -29,8 +29,8 @@ impl<'a> Program<'a> for CacheCheck {
"cache_check"
}
fn path() -> &'a str {
CACHE_CHECK
fn path() -> &'a std::ffi::OsStr {
CACHE_CHECK.as_ref()
}
fn usage() -> &'a str {