mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 14:56:53 +02:00
Utility to analyze state of deployment of security-related email protocols https://github.com/foxcpp/mailsec-check
13 lines
435 B
Diff
13 lines
435 B
Diff
readDNSRecord is undefined. Use correct function name in tests.
|
|
|
|
--- a/mtasts/mtasts_test.go
|
|
+++ b/mtasts/mtasts_test.go
|
|
@@ -57,7 +57,7 @@ func TestReadDNSRecord(t *testing.T) {
|
|
|
|
for _, c := range cases {
|
|
t.Run(c.value, func(t *testing.T) {
|
|
- id, err := readDNSRecord(c.value)
|
|
+ id, err := ReadDNSRecord(c.value)
|
|
if c.fail {
|
|
if err == nil {
|
|
t.Errorf("expected failure for %v, but got with id=%v", c.value, id)
|