mirror of
https://github.com/golang/go.git
synced 2026-04-03 09:49:56 +09:00
fix test
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user