diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-08-14 11:34:21 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-08-15 10:18:19 +0200 |
commit | 2168c5b125020a1841450730edc1b0ed2141d239 (patch) | |
tree | 7edfa01d9f1e0c921f08a468f9e5202e5569c529 /testscripts | |
parent | b3ad58fa04fb2447d1a788d1fe61b2ed581a403e (diff) | |
download | hugo-2168c5b125020a1841450730edc1b0ed2141d239.tar.gz hugo-2168c5b125020a1841450730edc1b0ed2141d239.zip |
Upgrade to Go 1.23
Fixes #12763
Diffstat (limited to 'testscripts')
-rw-r--r-- | testscripts/commands/mod.txt | 3 | ||||
-rw-r--r-- | testscripts/commands/mod_npm.txt | 2 | ||||
-rw-r--r-- | testscripts/commands/mod_npm_withexisting.txt | 1 |
3 files changed, 5 insertions, 1 deletions
diff --git a/testscripts/commands/mod.txt b/testscripts/commands/mod.txt index 56cea2c00..2fa17dbbe 100644 --- a/testscripts/commands/mod.txt +++ b/testscripts/commands/mod.txt @@ -18,7 +18,8 @@ hugo mod clean ! stderr . stdout 'hugo: removed 1 dirs in module cache for \"github.com/bep/empty-hugo-module\"' hugo mod clean --all -stdout 'Deleted 2\d{2} files from module cache\.' +# Currently this is 299 on MacOS and 301 on Linux. +stdout 'Deleted (2|3)\d{2} files from module cache\.' cd submod hugo mod init testsubmod cmpenv go.mod $WORK/golden/go.mod.testsubmod diff --git a/testscripts/commands/mod_npm.txt b/testscripts/commands/mod_npm.txt index 32cc37f06..3d8903e6a 100644 --- a/testscripts/commands/mod_npm.txt +++ b/testscripts/commands/mod_npm.txt @@ -2,6 +2,7 @@ dostounix golden/package.json + hugo mod npm pack cmp package.json golden/package.json @@ -41,3 +42,4 @@ path="github.com/gohugoio/hugoTestModule2" } -- go.mod -- module github.com/gohugoio/hugoTestModule +go 1.20 diff --git a/testscripts/commands/mod_npm_withexisting.txt b/testscripts/commands/mod_npm_withexisting.txt index e92eba3fd..073af0f07 100644 --- a/testscripts/commands/mod_npm_withexisting.txt +++ b/testscripts/commands/mod_npm_withexisting.txt @@ -55,3 +55,4 @@ path="github.com/gohugoio/hugoTestModule2" } -- go.mod -- module github.com/gohugoio/hugoTestModule +go 1.20 |