aboutsummaryrefslogtreecommitdiffhomepage
path: root/testscripts
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2023-08-23 18:14:43 +0200
committerBjørn Erik Pedersen <[email protected]>2023-08-23 20:52:09 +0200
commit111f02db2a2cb139a19e4643dd73fa637e40ad6e (patch)
tree34f8a2b39a4cac52203146d27b66316637e6f092 /testscripts
parent8a08f91d5b2ce0169569f8b39be914c4fe0c1164 (diff)
downloadhugo-111f02db2a2cb139a19e4643dd73fa637e40ad6e.tar.gz
hugo-111f02db2a2cb139a19e4643dd73fa637e40ad6e.zip
testscripts: Make mod vendor test stable
Diffstat (limited to 'testscripts')
-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