Skip to content

Commit

Permalink
Signed-off-by: tooptoop4 <33283496+tooptoop4@users.noreply.github.com>
Browse files Browse the repository at this point in the history
  • Loading branch information
tooptoop4 authored Oct 7, 2024
1 parent dfe2d19 commit b871510
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflow/validate/validate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1057,9 +1057,9 @@ spec:
`

func TestExitHandler(t *testing.T) {
// ensure {{workflow.status}} is not available when not in exit handler
// ensure {{workflow.status}} is available when not in exit handler
err := validate(workflowStatusNotOnExit)
require.Error(t, err)
require.NoError(t, err)

// ensure {{workflow.failures}} is available
err = validate(workflowFailures)
Expand Down

0 comments on commit b871510

Please sign in to comment.