Files
argo-cd/util/notification/expression/expr_test.go
pasha-codefresh 0f2f9a97e3 feat: Migrate argocd notifications to argocd (#7744)
feat: Migrate argocd notifications to argocd (#7744)

Signed-off-by: pashavictorovich <pavel@codefresh.io>
2021-11-29 18:47:46 -08:00

22 lines
310 B
Go

package expression
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestExpr(t *testing.T) {
namespaces := []string{
"time",
"repo",
"strings",
}
for _, ns := range namespaces {
helpers := Spawn(nil, nil, nil)
_, hasNamespace := helpers[ns]
assert.True(t, hasNamespace)
}
}