Commit 14d2a4c
Fix Test_parseExecutableFiles CI failure
Replace ostest.Chdir (raw os.Chdir) with t.Chdir in
detect_confirm_test.go. The t.Chdir API integrates properly with Go
1.26's testing framework for process-wide cwd changes, preventing
subtle test state corruption that caused subsequent tests in the same
package to fail on CI.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 44b0869 commit 14d2a4c
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
0 commit comments