blob: 61c4048484be02165d3c7b8ef8c810dbee876192 (
plain)
1
2
3
4
5
6
7
8
9
10
|
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)
}
}
|