fix(test): Fix bad test
We were failing if the test is OK...
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
|||||||
func TestVersion(t *testing.T) {
|
func TestVersion(t *testing.T) {
|
||||||
// we build on "devel" branch
|
// we build on "devel" branch
|
||||||
v := GetVersion()
|
v := GetVersion()
|
||||||
if strings.Contains(v, "(devel)") {
|
if !strings.Contains(v, "(devel)") {
|
||||||
t.Errorf("Expected version to be set, got %s", v)
|
t.Errorf("Expected version to be set, got %s", v)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user