deps: Upgrade github.com/rogpeppe/go-internal v1.13.1 => v1.14.1

Closes #13449
This commit is contained in:
Bjørn Erik Pedersen
2025-02-26 11:01:08 +01:00
parent c498d0fe1e
commit 6927e6f048
3 changed files with 13 additions and 14 deletions

View File

@@ -56,19 +56,16 @@ func TestUnfinished(t *testing.T) {
}
func TestMain(m *testing.M) {
os.Exit(
testscript.RunMain(m, map[string]func() int{
// The main program.
"hugo": func() int {
err := commands.Execute(os.Args[1:])
if err != nil {
fmt.Fprintln(os.Stderr, err)
return 1
}
return 0
},
}),
)
testscript.Main(m, map[string]func(){
// The main program.
"hugo": func() {
err := commands.Execute(os.Args[1:])
if err != nil {
fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}
},
})
}
var commonTestScriptsParam = testscript.Params{