Skip to content

Commit

Permalink
remove quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
Racer159 committed Oct 15, 2024
1 parent e94fb15 commit 3dae270
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/e2e/runner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ func TestTaskRunner(t *testing.T) {
t.Parallel()
stdOut, stdErr, err := e2e.Maru("run", "true-conditional-nested-nested-nested-task-comp-var-inputs", "--file", "src/test/tasks/conditionals/tasks.yaml")
require.NoError(t, err, stdOut, stdErr)
require.Contains(t, stdErr, "\"input val2 equals 5 and variable VAL1 equals 5\"")
require.Contains(t, stdErr, "input val2 equals 5 and variable VAL1 equals 5")
})
t.Run("test calling a task with nested task calling a task with false conditional comparing variables and inputs", func(t *testing.T) {
t.Parallel()
Expand All @@ -436,14 +436,14 @@ func TestTaskRunner(t *testing.T) {
t.Parallel()
stdOut, stdErr, err := e2e.Maru("run", "true-condition-var-as-input-original-syntax-nested-nested-with-comp", "--file", "src/test/tasks/conditionals/tasks.yaml")
require.NoError(t, err, stdOut, stdErr)
require.Contains(t, stdErr, "\"input val2 equals 5 and variable VAL1 equals 5\"")
require.Contains(t, stdErr, "input val2 equals 5 and variable VAL1 equals 5")
})

t.Run("test calling a task with nested task calling a task with new style var as input true conditional comparing variables and inputs", func(t *testing.T) {
t.Parallel()
stdOut, stdErr, err := e2e.Maru("run", "true-condition-var-as-input-new-syntax-nested-nested-with-comp", "--file", "src/test/tasks/conditionals/tasks.yaml")
require.NoError(t, err, stdOut, stdErr)
require.Contains(t, stdErr, "\"input val2 equals 5 and variable VAL1 equals 5\"")
require.Contains(t, stdErr, "input val2 equals 5 and variable VAL1 equals 5")
})

t.Run("run successful pattern", func(t *testing.T) {
Expand Down

0 comments on commit 3dae270

Please sign in to comment.