Correct unit tests (#55)

This commit is contained in:
Philip Kristoffersen
2022-03-23 09:24:35 +01:00
committed by GitHub
parent 52791fb43f
commit 371177ee20
+2 -2
View File
@@ -146,9 +146,9 @@ mod tests {
let shortcut: ShortcutOwned = manifest.clone().into(); let shortcut: ShortcutOwned = manifest.clone().into();
#[cfg(target_os = "windows")] #[cfg(target_os = "windows")]
assert_eq!(shortcut.exe, "\"C:\\Games\\MarvelGOTG\\retail/gotg.exe\""); assert_eq!(shortcut.exe, "C:\\Games\\MarvelGOTG\\retail/gotg.exe");
#[cfg(target_family = "unix")] #[cfg(target_family = "unix")]
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, "");
} }