1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

cleanup: Remove dead code and unused params

This commit is contained in:
Tom Limoncelli
2024-03-03 11:50:24 -05:00
parent 798c0d6b9e
commit e6c03c098a

View File

@@ -266,7 +266,7 @@ func makeChanges(t *testing.T, prv providers.DNSServiceProvider, dc *models.Doma
func runTests(t *testing.T, prv providers.DNSServiceProvider, domainName string, origConfig map[string]string) {
dc := getDomainConfigWithNameservers(t, prv, domainName)
testGroups := makeTests(t)
testGroups := makeTests()
firstGroup := *startIdx
if firstGroup == -1 {
@@ -750,7 +750,7 @@ func alltrue(f ...bool) alltrueFilter {
//
func makeTests(t *testing.T) []*TestGroup {
func makeTests() []*TestGroup {
sha256hash := strings.Repeat("0123456789abcdef", 4)
sha512hash := strings.Repeat("0123456789abcdef", 8)