Compare commits

...
Author SHA1 Message Date
Zaki 18b22a03b0 ci: retrigger regression check with skip label 2026-03-12 15:29:53 -07:00
ZakiandClaude Opus 4.6 779dd70a0d fix: remove duplicate path_routing_tests module in memory.rs
After rebase, the path_routing_tests test module appeared twice in
memory.rs -- once before MemoryTreeTool and once at the end. Remove
the first occurrence to fix the compilation error.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-03-12 15:21:35 -07:00
-20
View File
@@ -539,26 +539,6 @@ impl Tool for MemoryTreeTool {
}
}
#[cfg(test)]
mod path_routing_tests {
use super::looks_like_filesystem_path;
#[test]
fn detects_filesystem_paths() {
assert!(looks_like_filesystem_path("/Users/nige/file.md"));
assert!(looks_like_filesystem_path("C:\\Users\\nige\\file.md"));
assert!(looks_like_filesystem_path("D:/work/file.md"));
assert!(looks_like_filesystem_path("~/notes.md"));
}
#[test]
fn allows_workspace_memory_paths() {
assert!(!looks_like_filesystem_path("MEMORY.md"));
assert!(!looks_like_filesystem_path("daily/2026-03-11.md"));
assert!(!looks_like_filesystem_path("projects/alpha/notes.md"));
}
}
#[cfg(all(test, feature = "postgres"))]
mod tests {
use super::*;