mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-02-27 17:13:22 +08:00
log corrections on second run
This commit is contained in:
parent
2ac43a424b
commit
1f1e0fbab3
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue