Commit fa30cc3
committed
fix(config_test): use canonical HTTP header names in expectedHeaders
Go's http.Header canonicalizes header names (e.g., X-GitHub-Api-Version
becomes X-Github-Api-Version). The test's unexpected header check was
failing because it compared canonical names against non-canonical keys
in the expectedHeaders map.
Signed-off-by: Mike Ball <[email protected]>1 parent 4fe0b75 commit fa30cc3
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
| 393 | + | |
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| |||
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
409 | | - | |
| 409 | + | |
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
| |||
0 commit comments