Commit 980e092
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 44a13b1 commit 980e092
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
38 | | - | |
| 37 | + | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
| |||
0 commit comments