1
0
mirror of https://github.com/go-task/task.git synced 2025-01-04 03:48:02 +02:00
This commit is contained in:
Andrey Nering 2019-06-15 21:58:37 -03:00
parent 9c68c7c50b
commit 4cee4aa5a8
2 changed files with 2 additions and 2 deletions

View File

@ -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())

View File

@ -10,7 +10,7 @@ tasks:
- sh: "[ 1 = 0 ]"
msg: "1 != 0 obviously!"
depends_on_imposssible:
depends_on_impossible:
deps:
- impossible