Welcome to mirror list, hosted at ThFree Co, Russian Federation.

hugo_test.go « helpers - github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 90b63d403c7df22a4e408a267b55628a79832e2d (plain)
1
2
3
4
5
6
7
8
9
10
11
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))
}