testscripts: Make mod vendor test stable

This commit is contained in:
Bjørn Erik Pedersen 2023-08-23 18:14:43 +02:00
parent 8a08f91d5b
commit 111f02db2a

View file

@ -8,6 +8,7 @@ ls _vendor/github.com/gohugoio/hugo-mod-integrationtests/withhugotoml
stdout 'hugo.toml'
-- hugo.toml --
title = "Hugo Modules Test"
[module]
@ -19,7 +20,12 @@ path="github.com/gohugoio/hugo-mod-integrationtests/withhugotoml"
go 1.19
module github.com/gohugoio/testmod
require (
github.com/gohugoio/hugo-mod-integrationtests/withconfigtoml v1.0.0
github.com/gohugoio/hugo-mod-integrationtests/withhugotoml v1.0.0
)
-- golden/vendor.txt --
# github.com/gohugoio/hugo-mod-integrationtests/withconfigtoml v1.1.0
# github.com/gohugoio/hugo-mod-integrationtests/commonmod v0.0.0-20230823103305-919cefe8a425
# github.com/gohugoio/hugo-mod-integrationtests/withhugotoml v1.1.0
# github.com/gohugoio/hugo-mod-integrationtests/withconfigtoml v1.0.0
# github.com/gohugoio/hugo-mod-integrationtests/withhugotoml v1.0.0