Commit 4c55f7d
fix(e2e): use cross-platform workspaceFolderUri for removeLibrary URI
The previous template
file:///${workspaceFolder}/extraJars/extra-a.jar
happened to round-trip through vscode.Uri.parse(...).fsPath on Windows
(where ${workspaceFolder} is a C:\... path) but on Linux it produced
file:////home/runner/... (FOUR slashes). Uri.parse mapped that to a
//home/... path, so workspace.asRelativePath did not match the include
entry and removeLibrary silently did nothing -- both verify-extra-a-gone
and verify-extra-a-excluded then timed out on the Linux CI matrix.
Switch to the new ${workspaceFolderUri} placeholder (autotest 0.7.13),
which is backed by Node's url.pathToFileURL and produces a correctly
formed file:// URI on both Windows and POSIX.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent b4c3c66 commit 4c55f7d
1 file changed
Lines changed: 9 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
202 | 201 | | |
203 | | - | |
| 202 | + | |
204 | 203 | | |
205 | 204 | | |
206 | 205 | | |
| |||
272 | 271 | | |
273 | 272 | | |
274 | 273 | | |
275 | | - | |
| 274 | + | |
276 | 275 | | |
277 | 276 | | |
278 | 277 | | |
| |||
0 commit comments