update packaging
[platform/core/system/edge-orchestration.git] / vendor / github.com / miekg / dns / rr_test.go
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 }