Test parsing empty target

This commit is contained in:
Miek Gieben 2015-07-28 07:20:54 +01:00
parent b26019349a
commit 9d8cd1bfd9
1 changed files with 1 additions and 0 deletions

View File

@ -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)