From 7dd4d7556c19e4206a17e21a8c7d27f5381de25f Mon Sep 17 00:00:00 2001 From: ethernet Date: Thu, 24 Sep 2026 05:10:06 -0400 Subject: [PATCH] test(installer): drop retired Windows venv path assertions --- .../bootstrap-installer/src-tauri/src/update.rs | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/apps/bootstrap-installer/src-tauri/src/update.rs b/apps/bootstrap-installer/src-tauri/src/update.rs index 07ba8f8a08..0ddc81f3b1 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 { text.lines().map(str::to_string).collect() }