mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Fix manifest unit tests
This commit is contained in:
@@ -138,7 +138,11 @@ mod tests {
|
|||||||
manifest.is_managed = false;
|
manifest.is_managed = false;
|
||||||
let shortcut: ShortcutOwned = manifest.clone().into();
|
let shortcut: ShortcutOwned = manifest.clone().into();
|
||||||
|
|
||||||
|
#[cfg(target_os = "windows")]
|
||||||
|
assert_eq!(shortcut.exe, "\"C:\\Games\\MarvelGOTG\\retail/gotg.exe\"");
|
||||||
|
#[cfg(target_os = "linux")]
|
||||||
assert_eq!(shortcut.exe, "\"C:\\Games\\MarvelGOTG/retail/gotg.exe\"");
|
assert_eq!(shortcut.exe, "\"C:\\Games\\MarvelGOTG/retail/gotg.exe\"");
|
||||||
|
|
||||||
assert_eq!(shortcut.launch_options, "");
|
assert_eq!(shortcut.launch_options, "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user