1
0
mirror of https://github.com/golang/go synced 2024-11-27 01:11:20 -07:00
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)
}
}