Skip to content

Commit

Permalink
Update pkg/exprparser/functions_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: ChristopherHX <[email protected]>
  • Loading branch information
m1r4c and ChristopherHX authored Jan 30, 2025
1 parent f00e611 commit 1a46efb
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions pkg/exprparser/functions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,16 +255,16 @@ func TestFunctionFormat(t *testing.T) {
}

func TestMapContains(t *testing.T) {
env := &EvaluationEnvironment{}

env.Needs = map[string]Needs{
"first-job": {
Outputs: map[string]string{},
Result: "success",
},
"second-job": {
Outputs: map[string]string{},
Result: "failure",
env := &EvaluationEnvironment{
Needs: map[string]Needs{
"first-job": {
Outputs: map[string]string{},
Result: "success",
},
"second-job": {
Outputs: map[string]string{},
Result: "failure",
},
},
}

Expand Down

0 comments on commit 1a46efb

Please sign in to comment.