Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexopenline committed Dec 6, 2024
1 parent 67d9cac commit 6ba758e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions domaincheck/domain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func TestPrimaryDomainCheck(t *testing.T) {
}{
{
name: "Google - Primary Domain",
domain: "google.com",
domain: " google.com ",
isPrimary: true,
expectedDomain: "google.com",
description: "Google.com is a primary domain with MX records and A records",
Expand Down Expand Up @@ -294,11 +294,6 @@ func TestPrimaryDomainCheckWithErrors(t *testing.T) {
domain: "domain with spaces.com",
description: "Invalid domain should return false with no primary domain",
},
{
name: "Domain with trailing spaces",
domain: " google.com ",
description: "Domain with whitespace should be handled correctly",
},
{
name: "Very long domain",
domain: "very-long-subdomain-that-probably-doesnt-exist.very-long-domain-that-probably-doesnt-exist.com",
Expand Down

0 comments on commit 6ba758e

Please sign in to comment.