From 0e5283951f22a0ba6fd9d9888f3a08b8ea399569 Mon Sep 17 00:00:00 2001 From: pakrym-oai Date: Wed, 30 Jul 2025 07:17:07 -0700 Subject: [PATCH] tests: remove redundant test for Zsh profile file nonexistence --- codex-rs/core/src/shell.rs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/codex-rs/core/src/shell.rs b/codex-rs/core/src/shell.rs index 15f58c8b18..724c65688a 100644 --- a/codex-rs/core/src/shell.rs +++ b/codex-rs/core/src/shell.rs @@ -173,21 +173,6 @@ mod tests { } } - #[tokio::test] - async fn test_run_with_profile_zshrc_not_exists() { - let shell = Shell::Zsh(ZshShell { - shell_path: "/bin/zsh".to_string(), - env: HashMap::new(), - }); - let actual_cmd = shell.format_default_shell_invocation(ExecParams { - command: vec!["myecho".to_string()], - cwd: PathBuf::from("/"), - timeout_ms: None, - env: HashMap::new(), - }); - assert!(actual_cmd.is_none()); - } - #[expect(clippy::unwrap_used)] #[tokio::test] async fn test_run_with_profile_escaping_and_execution() {