Test parsing empty target
This commit is contained in:
parent
b26019349a
commit
9d8cd1bfd9
|
@ -1481,6 +1481,7 @@ func TestParseCAA(t *testing.T) {
|
|||
func TestParseURI(t *testing.T) {
|
||||
lt := map[string]string{
|
||||
"_http._tcp. IN URI 10 1 \"http://www.example.com/path\"": "_http._tcp.\t3600\tIN\tURI\t10 1 \"http://www.example.com/path\"",
|
||||
"_http._tcp. IN URI 10 1 \"\"": "_http._tcp.\t3600\tIN\tURI\t10 1 \"\"",
|
||||
}
|
||||
for i, o := range lt {
|
||||
rr, err := NewRR(i)
|
||||
|
|
Loading…
Reference in New Issue