Skip to content

Commit

Permalink
Update test/runtests.jl
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
quinnj and github-actions[bot] committed Jun 21, 2022
1 parent 8d2d6fb commit 91a91a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ using XMLDict
using StableRNGs

# backwards compat
HTTP.StatusError(status, resp) = HTTP.StatusError(status, resp.request.method, resp.request.target, resp)
function HTTP.StatusError(status, resp)
return HTTP.StatusError(status, resp.request.method, resp.request.target, resp)
end

Mocking.activate()

Expand Down

0 comments on commit 91a91a5

Please sign in to comment.