mirror of https://github.com/golang/go.git
fix test
This commit is contained in:
parent
4e50941549
commit
3d30c486de
|
|
@ -24,7 +24,7 @@ func TestGoLookupIP(t *testing.T) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Error(err)
|
t.Error(err)
|
||||||
}
|
}
|
||||||
if _, err := DefaultResolver.goLookupIP(ctx, host); err != nil {
|
if _, err := DefaultResolver.goLookupIP(ctx, "ip", host); err != nil {
|
||||||
t.Error(err)
|
t.Error(err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue