summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/miekg/dns/rr_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/miekg/dns/rr_test.go')
-rw-r--r--vendor/github.com/miekg/dns/rr_test.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/github.com/miekg/dns/rr_test.go b/vendor/github.com/miekg/dns/rr_test.go
new file mode 100644
index 000000000..77a153b1e
--- /dev/null
+++ b/vendor/github.com/miekg/dns/rr_test.go
@@ -0,0 +1,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
+}