| 1 | package dnsscip-go gomod github.com/miekg/dns . `github.com/miekg/dns`/ |
| 2 | |
| 3 | import ( |
| 4 | "testingscip-go gomod github.com/golang/go/src go1.25.0 testing/" |
| 5 | ) |
| 6 | |
| 7 | func TestFieldEmptyAOrAAAADatascip-go gomod github.com/miekg/dns . `github.com/miekg/dns`/TestFieldEmptyAOrAAAAData().(t *testingscip-go gomod github.com/golang/go/src go1.25.0 testing/.Tscip-go gomod github.com/golang/go/src go1.25.0 testing/T#) { |
| 8 | res := Fieldscip-go gomod github.com/miekg/dns . `github.com/miekg/dns`/Field().(new(Ascip-go gomod github.com/miekg/dns . `github.com/miekg/dns`/A#), 1) |
| 9 | if res != "" { |
| 10 | t.Errorfscip-go gomod github.com/golang/go/src go1.25.0 testing/common#Errorf().("expected empty string but got %v", res) |
| 11 | } |
| 12 | res = Fieldscip-go gomod github.com/miekg/dns . `github.com/miekg/dns`/Field().(new(AAAAscip-go gomod github.com/miekg/dns . `github.com/miekg/dns`/AAAA#), 1) |
| 13 | if res != "" { |
| 14 | t.Errorfscip-go gomod github.com/golang/go/src go1.25.0 testing/common#Errorf().("expected empty string but got %v", res) |
| 15 | } |
| 16 | } |