fix: leverage codex_utils_cargo_bin() in codex-rs/core/tests/suite

This commit is contained in:
Michael Bolin
2026-01-08 00:10:35 -08:00
parent 35fd69a9f0
commit fbaec1c2ec
6 changed files with 18 additions and 80 deletions
+5
View File
@@ -1,5 +1,6 @@
#![expect(clippy::expect_used)]
use codex_utils_cargo_bin::CargoBinError;
use tempfile::TempDir;
use codex_core::CodexThread;
@@ -235,6 +236,10 @@ pub fn format_with_current_shell_display_non_login(command: &str) -> String {
.expect("serialize current shell command without login")
}
pub fn stdio_server_bin() -> Result<String, CargoBinError> {
codex_utils_cargo_bin::cargo_bin("test_stdio_server").map(|p| p.to_string_lossy().to_string())
}
pub mod fs_wait {
use anyhow::Result;
use anyhow::anyhow;