Sam Ford d8125322e1
Curl: expand test coverage
This adds more tests to `curl_spec.rb` to increase test coverage.
This brings almost all of the methods that don't make network
requests up to 100% line and branch coverage (the exception being
some guards in `parse_curl_output` that shouldn't happen under
normal circumstances).

In the process of writing more tests for `parse_curl_response`, I
made some tweaks to remove checks for conditions that shouldn't ever
be true (e.g., `match["code"]` isn't optional, so it will be present
if `HTTP_STATUS_LINE_REGEX` matches) and to refactor some others. I
contributed this method a while back (9171eb2), so this is me coming
back to clarify some behavior.
2025-01-14 08:14:39 -05:00
..
2025-01-14 08:14:39 -05:00
2025-01-14 08:14:39 -05:00
2023-06-16 10:33:15 +01:00
2025-01-14 08:14:39 -05:00
2024-09-27 14:44:40 -07:00
2025-01-14 08:14:39 -05:00
2024-12-11 11:04:55 -08:00
2024-09-03 04:11:29 +01:00
2024-11-26 14:09:13 -08:00
2025-01-14 08:14:39 -05:00
2025-01-14 08:14:39 -05:00
2023-08-12 22:01:22 -07:00
2024-06-14 12:22:02 +01:00
2024-12-04 03:09:11 +08:00
2025-01-14 08:14:39 -05:00
2023-07-18 08:52:49 -07:00
2024-08-10 12:59:51 +01:00
2024-07-17 18:00:20 -04:00