cleanup(netxlite): drop the DefaultDialer legacy name (#796)
Part of https://github.com/ooni/probe/issues/2121
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/ooni/probe-cli/v3/internal/model"
|
||||
"github.com/ooni/probe-cli/v3/internal/netxlite"
|
||||
)
|
||||
|
||||
@@ -51,7 +52,7 @@ const requestWithoutDomainName = `{
|
||||
func TestWorkingAsIntended(t *testing.T) {
|
||||
handler := Handler{
|
||||
Client: http.DefaultClient,
|
||||
Dialer: netxlite.DefaultDialer,
|
||||
Dialer: netxlite.NewDialerWithStdlibResolver(model.DiscardLogger),
|
||||
MaxAcceptableBody: 1 << 24,
|
||||
Resolver: netxlite.NewResolverSystem(),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user