This commit is contained in:
Zhang Boyang
2021-03-15 23:26:10 +08:00
parent 4e50941549
commit 3d30c486de

View File

@@ -24,7 +24,7 @@ func TestGoLookupIP(t *testing.T) {
if err != nil {
t.Error(err)
}
if _, err := DefaultResolver.goLookupIP(ctx, host); err != nil {
if _, err := DefaultResolver.goLookupIP(ctx, "ip", host); err != nil {
t.Error(err)
}
}