From: William 'jawn-smith' Wilson Date: Fri, 13 Mar 2026 22:29:48 +0100 Subject: Skip test that requires network access Last-Update: 2022-06-29 forwarded:not-needed There is a build-time test in this package that is failing due to a lack of network access. Skip it to enable building of the package forwarded:not-needed --- network_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/network_test.go b/network_test.go index 9c153f0..75a7bcb 100644 --- a/network_test.go +++ b/network_test.go @@ -8,6 +8,9 @@ import ( ) func TestGetHostByName(t *testing.T) { + // This test requires network access, which does not + // work in package build environments + t.Skip() tpl := `{{"www.google.com" | getHostByName}}` resolvedIP, _ := runRaw(tpl, nil)