From a336ee0d96bec76359f1b776f254067d5384ca2b Mon Sep 17 00:00:00 2001 From: Ivan Ka <5395690+ivankatliarchuk@users.noreply.github.com> Date: Fri, 11 Jul 2025 16:47:28 +0100 Subject: [PATCH] chore(plan): added tests for cases with asterisks (#5640) * chore(plan): added tests for cases with asterisks Signed-off-by: ivan katliarchuk * chore(plan): added tests for cases with asterisks Signed-off-by: ivan katliarchuk --------- Signed-off-by: ivan katliarchuk --- plan/plan_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/plan/plan_test.go b/plan/plan_test.go index c4278087e..10ce5a992 100644 --- a/plan/plan_test.go +++ b/plan/plan_test.go @@ -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) {