Skip to content

feat: extend gock support (#150) - #150

Merged
tkrop merged 1 commit into
mainfrom
gock
Aug 11, 2026
Merged

feat: extend gock support (#150)#150
tkrop merged 1 commit into
mainfrom
gock

Conversation

@tkrop

@tkrop tkrop commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Description

This pull request extends support for gock by adding a NewErrorRoundTripper(error) which is missing link to allow generic mock clients to emit arbitrary errors from the http client. The pull request also updates dependencies and bumps the version.

Related Issue(s)

fixes #150.

Testing

Run make test, since the code is highly unit tested.

Checklist

  • I have reviewed and tested the changes thoroughly.
  • I have added appropriate documentation to the code for clarity.
  • I have communicated the consequences of the updates to customers.

Signed-off-by: Tronje Krop tronje.krop@jactors.de

Signed-off-by: Tronje Krop <tronje.krop@jactors.de>
@tkrop tkrop self-assigned this Aug 11, 2026
@tkrop
tkrop marked this pull request as ready for review August 11, 2026 17:16
@tkrop
tkrop merged commit 2215962 into main Aug 11, 2026
7 checks passed
@tkrop
tkrop deleted the gock branch August 11, 2026 17:17
tkrop added a commit that referenced this pull request Aug 11, 2026
Signed-off-by: Tronje Krop <tronje.krop@jactors.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant