Repository navigation
Commit 4a67095
test(github): cover GHE host parsing for slug_from_url
Direct unit tests on `parse_with_host` so we can exercise GHE-shaped URLs
without coupling to the process-wide `client::host()` OnceLock. Covers
HTTPS, SCP-style, `ssh://` scheme variants, the Microsoft GHE
`microsoft@...` SCP user, and rejection of mismatched hosts.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>1 parent 228476d commit 4a67095
1 file changed
Lines changed: 43 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
276 | 319 | | |
277 | 320 | | |
278 | 321 | | |
| |||
0 commit comments