Skip to content

The agent that grows with you

test(installer): drop retired Windows venv path assertions

ethernet7dd4d7556c19
diff --git a/apps/bootstrap-installer/src-tauri/src/update.rs b/apps/bootstrap-installer/src-tauri/src/update.rs
index 07ba8f8a082..0ddc81f3b1c 100644
--- a/apps/bootstrap-installer/src-tauri/src/update.rs
+++ b/apps/bootstrap-installer/src-tauri/src/update.rs
@@ -10,7 +10,6 @@
//! through the existing `--version` surface before selecting an older launcher.
use std::collections::VecDeque;
-use std::env;
use std::ffi::OsString;
use std::path::{Path, PathBuf};
use std::process::Stdio;
@@ -1279,22 +1278,6 @@ mod tests {
assert!(locked_paths(&probes).is_empty());
}
- #[test]
- fn same_windows_path_accepts_case_only_difference() {
- assert!(same_windows_path(
- Path::new(r"C:\Users\tester\.hermes\hermes-agent\venv\scripts\HERMES.EXE"),
- Path::new(r"c:\users\tester\.hermes\hermes-agent\venv\Scripts\hermes.exe"),
- ));
- }
-
- #[test]
- fn same_windows_path_rejects_desktop_binary() {
- assert!(!same_windows_path(
- Path::new(r"C:\Users\tester\.hermes\hermes-agent\apps\desktop\Hermes.exe"),
- Path::new(r"C:\Users\tester\.hermes\hermes-agent\venv\Scripts\hermes.exe"),
- ));
- }
-
fn lines(text: &str) -> Vec<String> {
text.lines().map(str::to_string).collect()
}