summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-08-23 18:14:43 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-08-23 20:52:09 +0200
commit111f02db2a2cb139a19e4643dd73fa637e40ad6e (patch)
tree34f8a2b39a4cac52203146d27b66316637e6f092
parent8a08f91d5b2ce0169569f8b39be914c4fe0c1164 (diff)
testscripts: Make mod vendor test stable
-rw-r--r--testscripts/commands/mod_vendor.txt12
1 files changed, 9 insertions, 3 deletions
diff --git a/testscripts/commands/mod_vendor.txt b/testscripts/commands/mod_vendor.txt
index 5ca10aa75..20862c14e 100644
--- a/testscripts/commands/mod_vendor.txt
+++ b/testscripts/commands/mod_vendor.txt
@@ -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