mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
log corrections on second run
This commit is contained in:
@@ -131,7 +131,10 @@ func runTests(t *testing.T, prv providers.DNSServiceProvider, domainName string,
|
|||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
if len(corrections) != 0 {
|
if len(corrections) != 0 {
|
||||||
t.Fatalf("Expected 0 corrections on second run, but found %d.", len(corrections))
|
t.Logf("Expected 0 corrections on second run, but found %d.", len(corrections))
|
||||||
|
for i, c := range corrections {
|
||||||
|
t.Logf("#%d: %s", i, c.Msg)
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user