Skip to content

Commit

Permalink
dns_resolver_test: add escape for percent char
Browse files Browse the repository at this point in the history
  • Loading branch information
kylejb committed Dec 15, 2022
1 parent 17391ff commit 3f16fcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/resolver/dns/dns_resolver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1175,7 +1175,7 @@ func TestResolveFunc(t *testing.T) {
{"[2001:db8:a0b:12f0::1]:21", nil},
{":80", nil},
{"127.0.0...1:12345", nil},
// {"[fe80::1%lo0]:80", nil}, // TODO(easwars): url.Parse raises: "invalid URL escape "%lo" [recovered]"
{"[fe80::1%25lo0]:80", nil},
{"golang.org:http", nil},
{"[2001:db8::1]:http", nil},
{"[2001:db8::1]:", errEndsWithColon},
Expand Down

0 comments on commit 3f16fcf

Please sign in to comment.