ref: 3ea4df35f2435f1cb371fa54f6fd89fd6d7d980f
dir: /helpers/hugo_test.go/
package helpers import ( "github.com/stretchr/testify/assert" "testing" ) func TestHugoVersion(t *testing.T) { assert.Equal(t, "0.15-DEV", hugoVersion(0.15, "-DEV")) assert.Equal(t, "0.17", hugoVersionNoSuffix(0.16+0.01)) }