Debian Codegraph @

rr_test.go

raw symbols SCIP
1 package dns
2
3 // testRR is a helper that wraps a call to NewRR and panics if the error is non-nil.
4 func testRR(s string) RR {
5 r, err := NewRR(s)
6 if err != nil {
7 panic(err)
8 }
9
10 return r
11 }