mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2024-12-14 22:54:18 +01:00
11 lines
180 B
Go
11 lines
180 B
Go
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)
|
|
}
|
|
}
|