DEVELOPMENT ENVIRONMENT

~liljamo/felu

ref: cb7bd8311d85efd14ca363d05e64274d8c427ad9 felu/internal/dns/misc_test.go -rw-r--r-- 180 bytes
cb7bd831Jonni Liljamo fix!: add default to acme_challenge migration 17 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")
	}
}