Skip to content

Commit

Permalink
proxy: imp code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizzick committed Nov 29, 2023
1 parent d7abf22 commit b1d6bad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion proxy/lookup_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package proxy

import (
"context"
"net/netip"
"testing"

Expand Down Expand Up @@ -28,7 +29,7 @@ func TestLookupIPAddr(t *testing.T) {
require.NoError(t, err)

// Now let's try doing some lookups.
addrs, err := p.LookupIPAddr("dns.google")
addrs, err := p.LookupNetIP(context.Background(), "", "dns.google")
require.NoError(t, err)
require.NotEmpty(t, addrs)

Expand Down

0 comments on commit b1d6bad

Please sign in to comment.