shithub: hugo

ref: 98ee69bce207a4c2a7c2ffca2b3e7c0ccdd6e8c9
dir: /helpers/hugo_test.go/

View raw version
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))
}