1
0
mirror of https://github.com/go-task/task.git synced 2025-04-27 12:32:25 +02:00

refatoring

This commit is contained in:
jaedle 2019-02-24 14:32:47 +01:00
parent fb666394fc
commit db1d3183b6
3 changed files with 2 additions and 2 deletions

View File

@ -580,7 +580,7 @@ func TestDetails(t *testing.T) {
}
assert.NoError(t, e.Setup())
assert.NoError(t, e.Run(context.Background(), taskfile.Call{Task: "task-with-details"}))
assert.Equal(t, readTestFixture(t, dir, "expected-task-with-details-details.txt"), buff.String())
assert.Equal(t, readTestFixture(t, dir, "task-with-details-details.txt"), buff.String())
buff.Reset()
const noDetails = "task-without-details"
@ -596,7 +596,7 @@ func TestDetails(t *testing.T) {
buff.Reset()
assert.NoError(t, e.Run(context.Background(), taskfile.Call{Task: "task-with-description-containing-empty-line"}))
assert.Equal(t, readTestFixture(t, dir, "expected-task-with-description-containing-empty-line.txt"), buff.String())
assert.Equal(t, readTestFixture(t, dir, "task-with-description-containing-empty-line.txt"), buff.String())
}