File tree Expand file tree Collapse file tree 3 files changed +13
-14
lines changed Expand file tree Collapse file tree 3 files changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ require (
6161 github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58
6262 github.com/pelletier/go-toml/v2 v2.2.3
6363 github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c
64- github.com/rogpeppe/go-internal v1.13 .1
64+ github.com/rogpeppe/go-internal v1.14 .1
6565 github.com/sanity-io/litter v1.5.8
6666 github.com/spf13/afero v1.11.0
6767 github.com/spf13/cast v1.7.1
Original file line number Diff line number Diff line change @@ -420,6 +420,8 @@ github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR
420420github.com/rogpeppe/go-internal v1.9.0 /go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs =
421421github.com/rogpeppe/go-internal v1.13.1 h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR38lUII =
422422github.com/rogpeppe/go-internal v1.13.1 /go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o =
423+ github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ =
424+ github.com/rogpeppe/go-internal v1.14.1 /go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc =
423425github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk =
424426github.com/russross/blackfriday/v2 v2.1.0 /go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM =
425427github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd h1:CmH9+J6ZSsIjUK3dcGsnCnO41eRBOnY12zwkn5qVwgc =
Original file line number Diff line number Diff line change @@ -56,19 +56,16 @@ func TestUnfinished(t *testing.T) {
5656}
5757
5858func TestMain (m * testing.M ) {
59- os .Exit (
60- testscript .RunMain (m , map [string ]func () int {
61- // The main program.
62- "hugo" : func () int {
63- err := commands .Execute (os .Args [1 :])
64- if err != nil {
65- fmt .Fprintln (os .Stderr , err )
66- return 1
67- }
68- return 0
69- },
70- }),
71- )
59+ testscript .Main (m , map [string ]func (){
60+ // The main program.
61+ "hugo" : func () {
62+ err := commands .Execute (os .Args [1 :])
63+ if err != nil {
64+ fmt .Fprintln (os .Stderr , err )
65+ os .Exit (1 )
66+ }
67+ },
68+ })
7269}
7370
7471var commonTestScriptsParam = testscript.Params {
You can’t perform that action at this time.
0 commit comments