diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-03-01 14:34:40 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-03-01 14:34:40 +0100 |
commit | a0e3ff16456c9bfaf57086197ebb3d3654dd98f8 (patch) | |
tree | 2ea0cabee533f8e351ee34ba1cddcf97f91b06aa /helpers/hugo_test.go | |
parent | cc15864744210497325b69d8c3b4130c9c5156ac (diff) |
helpers: Fix version string for Hugo 0.20 and similar
Fixes #3112
Diffstat (limited to 'helpers/hugo_test.go')
-rw-r--r-- | helpers/hugo_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/hugo_test.go b/helpers/hugo_test.go index 8dfa7f434..d901395e2 100644 --- a/helpers/hugo_test.go +++ b/helpers/hugo_test.go @@ -22,7 +22,7 @@ import ( func TestHugoVersion(t *testing.T) { assert.Equal(t, "0.15-DEV", hugoVersion(0.15, 0, "-DEV")) assert.Equal(t, "0.17", hugoVersionNoSuffix(0.16+0.01, 0)) - + assert.Equal(t, "0.20", hugoVersionNoSuffix(0.20, 0)) assert.Equal(t, "0.15.2-DEV", hugoVersion(0.15, 2, "-DEV")) assert.Equal(t, "0.17.3", hugoVersionNoSuffix(0.16+0.01, 3)) } |