1
0
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:
Craig Peterson
2017-03-22 10:41:54 -06:00
parent 2ac43a424b
commit 1f1e0fbab3

View File

@ -131,7 +131,10 @@ func runTests(t *testing.T, prv providers.DNSServiceProvider, domainName string,
t.Fatal(err)
}
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)
}
}
})