mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
tpl: Sync Go template packages with the Go 1.22.5 source
This commit is contained in:
parent
ae9d5e7d83
commit
071f8b4466
5 changed files with 3 additions and 8 deletions
|
@ -16,7 +16,7 @@ import (
|
|||
)
|
||||
|
||||
func main() {
|
||||
// The current is built with db6097f8cb [release-branch.go1.22] go1.22.1
|
||||
// The current is built with 8e1fdea8316d840fd07e9d6e026048e53290948b go1.22.5
|
||||
// TODO(bep) preserve the staticcheck.conf file.
|
||||
fmt.Println("Forking ...")
|
||||
defer fmt.Println("Done ...")
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -54,7 +54,7 @@ func TestGoToolLocation(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
// Modified by Hugo.
|
||||
// Modified by Hugo (not needed)
|
||||
func TestHasGoBuild(t *testing.T) {
|
||||
}
|
||||
|
||||
|
|
|
@ -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 (
|
||||
|
|
|
@ -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 (
|
||||
|
|
Loading…
Reference in a new issue