Fix Windows provider auth test helpers

This commit is contained in:
Michael Bolin
2026-03-31 14:12:24 -07:00
parent 29ca9b1423
commit b6cf81a9f7
2 changed files with 2 additions and 2 deletions

View File

@@ -145,7 +145,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

View File

@@ -190,7 +190,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