1
0
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:
jaedle
2019-02-24 14:18:51 +01:00
parent b05fa0821d
commit 6fb53a406b

View File

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