mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
linting (#693)
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
@ -210,7 +210,7 @@ func TestCAAValidation(t *testing.T) {
|
||||
},
|
||||
},
|
||||
}
|
||||
errs := NormalizeAndValidateConfig(config)
|
||||
errs := ValidateAndNormalizeConfig(config)
|
||||
if len(errs) != 1 {
|
||||
t.Error("Expect error on invalid CAA but got none")
|
||||
}
|
||||
@ -277,7 +277,7 @@ func TestTLSAValidation(t *testing.T) {
|
||||
},
|
||||
},
|
||||
}
|
||||
errs := NormalizeAndValidateConfig(config)
|
||||
errs := ValidateAndNormalizeConfig(config)
|
||||
if len(errs) != 1 {
|
||||
t.Error("Expect error on invalid TLSA but got none")
|
||||
}
|
||||
|
Reference in New Issue
Block a user