]> git.maquefel.me Git - brevno-suite/hugo/commitdiff
testscripts: Make mod vendor test stable
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 23 Aug 2023 16:14:43 +0000 (18:14 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 23 Aug 2023 18:52:09 +0000 (20:52 +0200)
testscripts/commands/mod_vendor.txt

index 5ca10aa75293969539bbf02abcfd09a7ccf6728e..20862c14e31c53088eb563098cdc0628f3fabaaa 100644 (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