From 485ecf740fbbcd59c729dab7b9812139905af9dd Mon Sep 17 00:00:00 2001 From: Chris Bookholt Date: Fri, 3 Jul 2026 05:37:49 -0700 Subject: [PATCH] test: assert requested PowerShell argv --- codex-rs/core/tests/suite/exec_policy.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/codex-rs/core/tests/suite/exec_policy.rs b/codex-rs/core/tests/suite/exec_policy.rs index 00e01b5049..dcb48b2258 100644 --- a/codex-rs/core/tests/suite/exec_policy.rs +++ b/codex-rs/core/tests/suite/exec_policy.rs @@ -135,7 +135,6 @@ async fn unified_exec_workspace_powershell_path_requires_one_shot_approval_befor format!("Set-Content -LiteralPath '{sentinel_arg}' started; Write-Output '{marker}'"); let expected_command = vec![ fake_powershell.clone(), - "-NoProfile".to_string(), "-Command".to_string(), script.clone(), ];