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) 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)
}
} }
}) })