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