[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

@@ -36,8 +36,8 @@ impl<'a> Program<'a> for ThinMetadataUnpack {
"thin_metadata_pack"
}
fn path() -> &'a str {
THIN_METADATA_UNPACK
fn path() -> &'a std::ffi::OsStr {
THIN_METADATA_UNPACK.as_ref()
}
fn usage() -> &'a str {