From 3d30c486dedd0d211366b1989034480a22ef2ffc Mon Sep 17 00:00:00 2001 From: Zhang Boyang Date: Mon, 15 Mar 2021 23:26:10 +0800 Subject: [PATCH] fix test --- src/net/netgo_unix_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/netgo_unix_test.go b/src/net/netgo_unix_test.go index 0dfd6c2cd7f..5551e47de7f 100644 --- a/src/net/netgo_unix_test.go +++ b/src/net/netgo_unix_test.go @@ -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) } }