mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-04-02 14:58:48 +02:00
feat: Migrate argocd notifications to argocd (#7744) Signed-off-by: pashavictorovich <pavel@codefresh.io>
22 lines
310 B
Go
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)
|
|
}
|
|
}
|