1
0
mirror of https://github.com/taigrr/godns synced 2025-01-18 04:03:25 -08:00

update test case

This commit is contained in:
TimothyYe 2019-01-20 14:59:17 +08:00
parent 0fdb8af727
commit 6455f324cd

View File

@ -160,8 +160,8 @@ func TestRecordTracked(t *testing.T) {
}
for _, rec := range resp.Records {
if recordTracked(domain, &rec) != true {
t.Errorf("invalid record skip: %+v\r\n", rec.Name)
if recordTracked(domain, &rec) {
t.Info("Record founded: %+v\r\n", rec.Name)
}
}
}