Added the hugoExtended
This commit is contained in:
parent
e635243b54
commit
1f5cdffd0b
6 changed files with 41 additions and 12 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue