From 29ca9b142341ffef24170806e83d299d99b718e9 Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Tue, 31 Mar 2026 12:37:13 -0700 Subject: [PATCH] Fix Windows external bearer refresh test --- codex-rs/login/src/auth/auth_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-rs/login/src/auth/auth_tests.rs b/codex-rs/login/src/auth/auth_tests.rs index 53580c72d3..5299c7af70 100644 --- a/codex-rs/login/src/auth/auth_tests.rs +++ b/codex-rs/login/src/auth/auth_tests.rs @@ -364,7 +364,7 @@ mv tokens.next tokens.txt let script_path = tempdir.path().join("print-token.ps1"); std::fs::write( &script_path, - r#"$lines = Get-Content -Path tokens.txt + r#"$lines = @(Get-Content -Path tokens.txt) if ($lines.Count -eq 0) { exit 1 } Write-Output $lines[0] $lines | Select-Object -Skip 1 | Set-Content -Path tokens.txt