mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-05 09:06:58 +02:00
chore(plan): added tests for cases with asterisks (#5640)
* chore(plan): added tests for cases with asterisks Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com> * chore(plan): added tests for cases with asterisks Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com> --------- Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
This commit is contained in:
parent
ad653a63b3
commit
a336ee0d96
@ -1109,6 +1109,14 @@ func TestNormalizeDNSName(tt *testing.T) {
|
||||
"xn--nordic--w1a.kitty😸.com.",
|
||||
"xn--nordic--w1a.xn--kitty-pd34d.com.",
|
||||
},
|
||||
{
|
||||
"*.example.com.",
|
||||
"*.example.com.",
|
||||
},
|
||||
{
|
||||
"*.example.com",
|
||||
"*.example.com.",
|
||||
},
|
||||
}
|
||||
for _, r := range records {
|
||||
tt.Run(r.dnsName, func(t *testing.T) {
|
||||
|
Loading…
Reference in New Issue
Block a user