Files
mostlymatter/vendor/github.com/miekg/dns/version_test.go
Harrison Healey 2fa7c464f0 Updated dependencies and added avct/uasurfer (#8089)
* Updated dependencies and added avct/uasurfer

* Added uasurfer to NOTICE.txt
2018-01-16 12:03:31 -05:00

11 строки
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)
}
}