Commit b6a4819
fix: BOM in Invoke-BashHook and remove broken Utils integration from scoop-tests CI
- Fix Invoke-BashHook in commit-msg.Tests.ps1 to write temp file without BOM
(was using [System.Text.Encoding]::UTF8 which emits 0xEF 0xBB 0xBF preamble;
bash reads BOM as part of first line, causing .Trim() | Should -Be 'Fix bug' to fail
on macOS/Linux - this was 2 of the 60+2 failures in the cross-platform job)
- Remove bucket/Utils.Tests.ps1 from scoop-tests CI path: those tests mock
choco.exe/scoop.ps1 but Utils.ps1 defines wrapper functions that call through
to real executables; real Chocolatey on windows-latest runners bypasses the
mock, causing all Utils integration tests to fail with real choco output
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 372179a commit b6a4819
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
370 | | - | |
| 370 | + | |
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
| |||
0 commit comments