zone_test.go 216 B

12345678910111213141516
  1. package zone
  2. import (
  3. "testing"
  4. )
  5. func TestZone(t *testing.T) {
  6. txt := []string{"Info text"}
  7. zone, err := New("instance", "_foo._bar", "", "", 8000, nil, txt)
  8. if err != nil {
  9. t.Fatal(err)
  10. }
  11. t.Log(zone)
  12. }