diff options
Diffstat (limited to 'plugin/forward/truncated_test.go')
-rw-r--r-- | plugin/forward/truncated_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/forward/truncated_test.go b/plugin/forward/truncated_test.go index 1c9e92a07..b7ff47c14 100644 --- a/plugin/forward/truncated_test.go +++ b/plugin/forward/truncated_test.go @@ -34,7 +34,7 @@ func TestLookupTruncated(t *testing.T) { }) defer s.Close() - p := NewProxy(s.Addr, nil /* no TLS */) + p := NewProxy(s.Addr, DNS) f := New() f.SetProxy(p) defer f.Close() @@ -88,9 +88,9 @@ func TestForwardTruncated(t *testing.T) { f := New() - p1 := NewProxy(s.Addr, nil /* no TLS */) + p1 := NewProxy(s.Addr, DNS) f.SetProxy(p1) - p2 := NewProxy(s.Addr, nil /* no TLS */) + p2 := NewProxy(s.Addr, DNS) f.SetProxy(p2) defer f.Close() |