mirror of
https://github.com/coredns/coredns.git
synced 2025-10-29 09:14:17 -04:00
Fix log test
This commit is contained in:
@@ -45,7 +45,7 @@ func TestLoggedStatus(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
logged := f.String()
|
logged := f.String()
|
||||||
if !strings.Contains(logged, "A example.org. udp") {
|
if !strings.Contains(logged, "A IN example.org. udp false 512") {
|
||||||
t.Error("Expected it to be logged. Logged string -", logged)
|
t.Error("Expected it to be logged. Logged string -", logged)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user