ooni-probe-cli/internal/engine/netx/httptransport/http3transport_test.go
Simone Basso 4dc2907472
refactor: move base http3 transport into netxlite (#412)
This diff is part of https://github.com/ooni/probe/issues/1505.

You will notice that I have not adapted all the (great) tests we had
previously. They should live at another layer, and namely the one that
deals with performing measurements.

When I'm refactoring such a layer I'll ensure those tests that I have
not adapted here are reintroduced into the tree.
2021-06-30 15:19:10 +02:00

13 lines
290 B
Go

package httptransport_test
import (
"testing"
"github.com/ooni/probe-cli/v3/internal/engine/netx/httptransport"
)
func TestNewHTTP3Transport(t *testing.T) {
// mainly to cover a line which otherwise won't be directly covered
httptransport.NewHTTP3Transport(httptransport.Config{})
}