diff --git a/pkg/serverconfigs/server_name_config_test.go b/pkg/serverconfigs/server_name_config_test.go index f80cb61..e3e862f 100644 --- a/pkg/serverconfigs/server_name_config_test.go +++ b/pkg/serverconfigs/server_name_config_test.go @@ -26,10 +26,19 @@ func TestPlainServerNames(t *testing.T) { Name: "world.com", SubNames: nil, }, + // duplicate + { + Name: "world.com", + SubNames: nil, + }, { Name: "", SubNames: []string{"WoRld.com", "XYZ.com"}, }, + { + Name: "*.world.com", + SubNames: nil, + }, } logs.PrintAsJSON(PlainServerNames(serverNames), t) }