diff options
Diffstat (limited to 'tpl')
4 files changed, 2 insertions, 7 deletions
diff --git a/tpl/internal/go_templates/testenv/testenv.go b/tpl/internal/go_templates/testenv/testenv.go index 97d897a1f..277df2255 100644 --- a/tpl/internal/go_templates/testenv/testenv.go +++ b/tpl/internal/go_templates/testenv/testenv.go @@ -320,6 +320,7 @@ func MustInternalLink(t testing.TB, withCgo bool) { // If not, MustHaveBuildMode calls t.Skip with an explanation. // Modified by Hugo (not needed) func MustHaveBuildMode(t testing.TB, buildmode string) { + return } // HasSymlink reports whether the current system can use os.Symlink. diff --git a/tpl/internal/go_templates/testenv/testenv_test.go b/tpl/internal/go_templates/testenv/testenv_test.go index d4b2b368f..4aabc00a6 100644 --- a/tpl/internal/go_templates/testenv/testenv_test.go +++ b/tpl/internal/go_templates/testenv/testenv_test.go @@ -54,7 +54,7 @@ func TestGoToolLocation(t *testing.T) { } } -// Modified by Hugo. +// Modified by Hugo (not needed) func TestHasGoBuild(t *testing.T) { } diff --git a/tpl/internal/go_templates/texttemplate/exec_test.go b/tpl/internal/go_templates/texttemplate/exec_test.go index 030e20ca0..ed75adacb 100644 --- a/tpl/internal/go_templates/texttemplate/exec_test.go +++ b/tpl/internal/go_templates/texttemplate/exec_test.go @@ -2,9 +2,6 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build go1.13 && !windows -// +build go1.13,!windows - package template import ( diff --git a/tpl/internal/go_templates/texttemplate/parse/parse_test.go b/tpl/internal/go_templates/texttemplate/parse/parse_test.go index 080eea2f9..59e0a1741 100644 --- a/tpl/internal/go_templates/texttemplate/parse/parse_test.go +++ b/tpl/internal/go_templates/texttemplate/parse/parse_test.go @@ -2,9 +2,6 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build go1.13 -// +build go1.13 - package parse import ( |