aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorhugoreleaser <[email protected]>2022-05-16 08:50:17 +0000
committerBjørn Erik Pedersen <[email protected]>2022-05-16 13:01:52 +0200
commit7bc3401eb5fc1cff042bd4ab13938eb9924ecb2b (patch)
tree8d2a9148bd077c2bb28294e2ef55ebf9a882dfde /modules
parent1de333e7a3fc863672ec6d6cd53ba66dbcdd2305 (diff)
downloadhugo-7bc3401eb5fc1cff042bd4ab13938eb9924ecb2b.tar.gz
hugo-7bc3401eb5fc1cff042bd4ab13938eb9924ecb2b.zip
common/hugo: Fix version logic
[ci skip]
Diffstat (limited to 'modules')
-rw-r--r--modules/config_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/config_test.go b/modules/config_test.go
index 458240b60..55d055dcc 100644
--- a/modules/config_test.go
+++ b/modules/config_test.go
@@ -33,9 +33,9 @@ func TestConfigHugoVersionIsValid(t *testing.T) {
{HugoVersion{Min: "0.33.0"}, true},
{HugoVersion{Min: "0.56.0-DEV"}, true},
{HugoVersion{Min: "0.33.0", Max: "0.55.0"}, false},
- {HugoVersion{Min: "0.33.0", Max: "0.99.0"}, true},
+ {HugoVersion{Min: "0.33.0", Max: "0.199.0"}, true},
} {
- c.Assert(test.in.IsValid(), qt.Equals, test.expect)
+ c.Assert(test.in.IsValid(), qt.Equals, test.expect, qt.Commentf("%#v", test.in))
}
}