[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

@@ -32,8 +32,8 @@ impl<'a> Program<'a> for ThinDump {
"thin_dump"
}
fn path() -> &'a str {
THIN_DUMP
fn path() -> &'a std::ffi::OsStr {
THIN_DUMP.as_ref()
}
fn usage() -> &'a str {