diff --git a/task_test.go b/task_test.go index 0bc98f9d..1b97fbb6 100644 --- a/task_test.go +++ b/task_test.go @@ -299,7 +299,7 @@ func TestPrecondition(t *testing.T) { buff.Reset() // Calling a task with a precondition in a dependency fails the task - assert.Error(t, e.Run(context.Background(), taskfile.Call{Task: "depends_on_imposssible"})) + assert.Error(t, e.Run(context.Background(), taskfile.Call{Task: "depends_on_impossible"})) if buff.String() != "task: 1 != 0 obviously!\n" { t.Errorf("Wrong output message: %s", buff.String()) diff --git a/testdata/precondition/Taskfile.yml b/testdata/precondition/Taskfile.yml index 405140f7..eedc588f 100644 --- a/testdata/precondition/Taskfile.yml +++ b/testdata/precondition/Taskfile.yml @@ -10,7 +10,7 @@ tasks: - sh: "[ 1 = 0 ]" msg: "1 != 0 obviously!" - depends_on_imposssible: + depends_on_impossible: deps: - impossible