1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

get-zones now outputs a comment about CNAMEs at apex (#1732)

This commit is contained in:
Tom Limoncelli
2022-08-29 10:18:39 -04:00
committed by GitHub
parent c9b166ff0f
commit 391622ff55
9 changed files with 453 additions and 2 deletions

View File

@ -18,8 +18,9 @@ func TestFormatTypes(t *testing.T) {
test_data/$DOMAIN.zone zone test_data/$DOMAIN.zone.zone
*/
for _, domain := range []string{"simple.com", "example.org"} {
for _, domain := range []string{"simple.com", "example.org", "apex.com"} {
t.Run(domain+"/js", func(t *testing.T) { testFormat(t, domain, "js") })
t.Run(domain+"/djs", func(t *testing.T) { testFormat(t, domain, "djs") })
t.Run(domain+"/tsv", func(t *testing.T) { testFormat(t, domain, "tsv") })
t.Run(domain+"/zone", func(t *testing.T) { testFormat(t, domain, "zone") })
}