DEVELOPMENT ENVIRONMENT

~liljamo/felu

ref: 326c993612df33f8ae796d652157bf49281a1596 felu/internal/dns/misc_test.go -rw-r--r-- 180 bytes
326c9936Jonni Liljamo feat: zoneOf function 21 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
package dns

import "testing"

func TestZoneOf(t *testing.T) {
	want := "test.ddns.felu.arpa."
	if !zoneOf("_acme-challenge.test.ddns.felu.arpa.", want) {
		t.Error("zoneOf")
	}
}