Added the hugoExtended

This commit is contained in:
Jens True 2019-04-25 10:48:42 +02:00
commit 1f5cdffd0b
6 changed files with 41 additions and 12 deletions

View file

@ -25,12 +25,12 @@ func TestCommandValidate(t *testing.T) {
func TestVersionEqual(t *testing.T) {
want := true
if got := versionsEqual("1.0", "1.0"); want != got {
if got := versionsEqual("1.0", "1.0", false); want != got {
t.Errorf("want: %t, got: %t", want, got)
}
want = false
if got := versionsEqual("1.5", "1.0"); want != got {
if got := versionsEqual("1.5", "1.0", false); want != got {
t.Errorf("want: %t, got: %t", want, got)
}
}