Skip to content

Commit

Permalink
remove split from search domains in tests
Browse files Browse the repository at this point in the history
Signed-off-by: Kristoffer Dalby <[email protected]>
  • Loading branch information
kradalby committed Aug 16, 2024
1 parent 14bc1ac commit 0b2c39a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hscontrol/types/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func TestReadConfig(t *testing.T) {
},
want: &tailcfg.DNSConfig{
Proxied: true,
Domains: []string{"example.com", "darp.headscale.net", "foo.bar.com", "test.com", "bar.com"},
Domains: []string{"example.com", "test.com", "bar.com"},
Resolvers: []*dnstype.Resolver{
{Addr: "1.1.1.1"},
{Addr: "1.0.0.1"},
Expand Down Expand Up @@ -114,7 +114,7 @@ func TestReadConfig(t *testing.T) {
},
want: &tailcfg.DNSConfig{
Proxied: false,
Domains: []string{"example.com", "darp.headscale.net", "foo.bar.com", "test.com", "bar.com"},
Domains: []string{"example.com", "test.com", "bar.com"},
Resolvers: []*dnstype.Resolver{
{Addr: "1.1.1.1"},
{Addr: "1.0.0.1"},
Expand Down

0 comments on commit 0b2c39a

Please sign in to comment.