You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
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)
|
|
}
|
|
}
|