mirror of
https://github.com/go-task/task.git
synced 2025-08-10 22:42:19 +02:00
remove unusued expectations
This commit is contained in:
@@ -586,9 +586,6 @@ func TestDetails(t *testing.T) {
|
|||||||
assert.NoError(t, e.Run(context.Background(), taskfile.Call{Task: "task-with-details"}))
|
assert.NoError(t, e.Run(context.Background(), taskfile.Call{Task: "task-with-details"}))
|
||||||
assert.Equal(t, string(exp), buff.String())
|
assert.Equal(t, string(exp), buff.String())
|
||||||
|
|
||||||
assert.NotContains(t, buff.String(), "task-with-details was executed")
|
|
||||||
assert.NotContains(t, buff.String(), "dependend-task was executed")
|
|
||||||
|
|
||||||
buff.Reset()
|
buff.Reset()
|
||||||
const noDetails = "task-without-details"
|
const noDetails = "task-without-details"
|
||||||
assert.NoError(t, e.Run(context.Background(), taskfile.Call{Task: noDetails}))
|
assert.NoError(t, e.Run(context.Background(), taskfile.Call{Task: noDetails}))
|
||||||
|
Reference in New Issue
Block a user