From c0a0cb8b1c2584e65dbfb41d3e97cb1d6170c653 Mon Sep 17 00:00:00 2001 From: Wayne Starr Date: Tue, 15 Oct 2024 12:13:27 -0600 Subject: [PATCH] better test --- src/test/e2e/runner_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/e2e/runner_test.go b/src/test/e2e/runner_test.go index 67c3094..83c5c57 100644 --- a/src/test/e2e/runner_test.go +++ b/src/test/e2e/runner_test.go @@ -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, "Running \"echo \\\"input val2 equals 5 and variable VAL1 equals 5\\\"\"") + require.Contains(t, stdErr, "Completed \"echo \\\"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() @@ -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, "Running \"echo \\\"input val2 equals 5 and variable VAL1 equals 5\\\"\"") + require.Contains(t, stdErr, "Completed \"echo \\\"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, "Running \"echo \\\"input val2 equals 5 and variable VAL1 equals 5\\\"\"") + require.Contains(t, stdErr, "Completed \"echo \\\"input val2 equals 5 and variable VAL1 equals 5\\\"\"") }) t.Run("run successful pattern", func(t *testing.T) {