1
0
mirror of https://github.com/DNSCrypt/dnscrypt-proxy.git synced 2024-12-14 22:54:18 +01:00
dnscrypt-proxy/vendor/github.com/miekg/dns/version_test.go

11 lines
180 B
Go
Raw Normal View History

package dns
import "testing"
func TestVersion(t *testing.T) {
v := V{1, 0, 0}
if x := v.String(); x != "1.0.0" {
t.Fatalf("Failed to convert version %v, got: %s", v, x)
}
}