File: rr_test.go

package info (click to toggle)
golang-github-miekg-dns 1.0.4%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 900 kB
  • sloc: makefile: 4
file content (7 lines) | stat: -rw-r--r-- 136 bytes parent folder | download
1
2
3
4
5
6
7
package dns

// testRR returns the RR from string s. The error is thrown away.
func testRR(s string) RR {
	r, _ := NewRR(s)
	return r
}