mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 17:46:57 +02:00
chore(ci): fix testify linter
This commit is contained in:
parent
3e4a8bb056
commit
68b650173e
@ -24,6 +24,7 @@ import (
|
|||||||
"github.com/cloudflare/cloudflare-go"
|
"github.com/cloudflare/cloudflare-go"
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
|
||||||
"sigs.k8s.io/external-dns/endpoint"
|
"sigs.k8s.io/external-dns/endpoint"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -124,7 +125,7 @@ func Test_regionalHostname(t *testing.T) {
|
|||||||
t.Run(tt.name, func(t *testing.T) {
|
t.Run(tt.name, func(t *testing.T) {
|
||||||
p := CloudFlareProvider{RegionKey: tt.args.defaultRegionKey}
|
p := CloudFlareProvider{RegionKey: tt.args.defaultRegionKey}
|
||||||
got := p.regionalHostname(tt.args.endpoint)
|
got := p.regionalHostname(tt.args.endpoint)
|
||||||
assert.Equal(t, got, tt.want)
|
assert.Equal(t, tt.want, got)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user