test: drop unrelated agent discovery change

This commit is contained in:
GeekMr committed 2026-09-23 12:42:36 +08:00
1 parent b74ee6c256
commit 35168e1d88
1 file changed
+2 -3
@@ -197,9 +197,8 @@ mod tests {
executable(dir.path(), "agent");
executable(dir.path(), "cursor");
assert_eq!(find_executable(AgentKind::Cursor, &[dir.path().to_path_buf()]), None);
let cli_dir = tempfile::tempdir().unwrap();
let cli = executable(cli_dir.path(), "cursor-agent");
assert_eq!(find_executable(AgentKind::Cursor, &[cli_dir.path().to_path_buf()]), Some(cli));
let cli = executable(dir.path(), "cursor-agent");
assert_eq!(find_executable(AgentKind::Cursor, &[dir.path().to_path_buf()]), Some(cli));
}
#[test]