Borg/pkg/github
google-labs-jules[bot] a8dc55aba5 fix: Correct mock data and test environment handling
This commit addresses several issues in the testing framework:

- Corrected a malformed URL in the mock response data in `pkg/github/github.go`.
- Fixed a bug in the mock HTTP client in `pkg/mocks/http.go` where the response body was being exhausted after the first read. The client now returns a deep copy of the response for each call.
- Refactored the environment variable handling in `TDD/collect_commands_test.go` to use `t.Setenv`, ensuring proper cleanup after the test.
2025-11-02 18:46:09 +00:00
..
github.go fix: Correct mock data and test environment handling 2025-11-02 18:46:09 +00:00
release.go feat: Add ability to download from GitHub releases 2025-11-01 19:03:04 +00:00