From 4cee4aa5a85909a0bc9d6c2c7d3ded7561d934c5 Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Sat, 15 Jun 2019 21:58:37 -0300 Subject: [PATCH] Fix typo --- task_test.go | 2 +- testdata/precondition/Taskfile.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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