diff --git a/generator/version_test.go b/generator/version_test.go index 44e45c5..c65c2f3 100644 --- a/generator/version_test.go +++ b/generator/version_test.go @@ -8,7 +8,7 @@ import ( func TestVersion(t *testing.T) { // we build on "devel" branch v := GetVersion() - if strings.Contains(v, "(devel)") { + if !strings.Contains(v, "(devel)") { t.Errorf("Expected version to be set, got %s", v) }