Repository navigation
Commit 082a98b
* Fix Go workspace tests failing on Windows
Three Go workspace unit tests failed on the nightly Windows run,
keeping main's nightly CI red. Their fixtures used /elsewhere and
/nonexistent as absolute GOWORK paths, but on Windows a path with no
drive is relative, so the code (like go itself) rejected them. A third
test expected a forward-slash path where Windows prints a native one.
Build the GOWORK fixtures under the test's temp dir so they are
absolute on every platform, and match the member path with the
platform separator. No product code changes.
Fixes #1815
Assisted-by: Claude Code:claude-opus-5-5
* Keep remaining GOWORK test paths portable
The Go crawler test still set GOWORK to /elsewhere/go.work, which on
Windows is relative, so its "file elsewhere" case quietly checked an
invalid GOWORK instead. Point it at an absolute path beside the
project. Keep the VEX test's missing go.work outside the project, as
the original /nonexistent path was.
Refs #1815
Assisted-by: Claude Code:claude-opus-5-5
---------
Co-authored-by: Claude <noreply@anthropic.com>
1 parent ecd4924 commit 082a98b
3 files changed
Lines changed: 18 additions & 6 deletions
File tree
- crates/socket-patch-core/src
- crawlers
- vendor
- vex/discover
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1426 | 1426 | | |
1427 | 1427 | | |
1428 | 1428 | | |
1429 | | - | |
1430 | | - | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
1431 | 1433 | | |
1432 | 1434 | | |
1433 | 1435 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1138 | 1138 | | |
1139 | 1139 | | |
1140 | 1140 | | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
1141 | 1144 | | |
1142 | | - | |
1143 | | - | |
| 1145 | + | |
| 1146 | + | |
1144 | 1147 | | |
1145 | 1148 | | |
1146 | 1149 | | |
| |||
1476 | 1479 | | |
1477 | 1480 | | |
1478 | 1481 | | |
1479 | | - | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
1480 | 1486 | | |
1481 | 1487 | | |
1482 | 1488 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1836 | 1836 | | |
1837 | 1837 | | |
1838 | 1838 | | |
| 1839 | + | |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
1839 | 1843 | | |
1840 | 1844 | | |
1841 | | - | |
| 1845 | + | |
1842 | 1846 | | |
1843 | 1847 | | |
1844 | 1848 | | |
| |||
0 commit comments