From b983e1daebf528443e2a3954cd595fa3664ec93f Mon Sep 17 00:00:00 2001 From: lhchavez Date: Sun, 5 Sep 2021 16:39:07 -0700 Subject: Add support for managed HTTP/S transports (#810) This change uses the newly-exposed Transport interface to use Go's implementation of http.Client instead of httpclient via libgit2. --- git_test.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'git_test.go') diff --git a/git_test.go b/git_test.go index 101350f..592e06f 100644 --- a/git_test.go +++ b/git_test.go @@ -11,6 +11,10 @@ import ( ) func TestMain(m *testing.M) { + if err := registerManagedHTTP(); err != nil { + panic(err) + } + ret := m.Run() if err := unregisterManagedTransports(); err != nil { -- cgit v1.2.3