1
0
Fork 0

Merge branch v2.11 into v3.4

This commit is contained in:
romain 2025-06-02 11:38:16 +02:00
commit bd4bfd8919
110 changed files with 493 additions and 494 deletions

View file

@ -1,7 +1,6 @@
package tailscale
import (
"context"
"testing"
"github.com/stretchr/testify/assert"
@ -125,7 +124,7 @@ func TestProvider_findDomains(t *testing.T) {
p := Provider{ResolverName: "foo"}
got := p.findDomains(context.TODO(), test.config)
got := p.findDomains(t.Context(), test.config)
assert.Equal(t, test.want, got)
})
}
@ -230,7 +229,7 @@ func Test_sanitizeDomains(t *testing.T) {
t.Run(test.desc, func(t *testing.T) {
t.Parallel()
got := sanitizeDomains(context.TODO(), test.domains)
got := sanitizeDomains(t.Context(), test.domains)
assert.Equal(t, test.want, got)
})
}