mirror of
https://github.com/go-task/task.git
synced 2025-03-05 15:05:42 +02:00
rename test fixture
This commit is contained in:
parent
0446cfdba0
commit
1c3082ffa6
@ -580,7 +580,7 @@ func TestDetails(t *testing.T) {
|
|||||||
}
|
}
|
||||||
assert.NoError(t, e.Setup())
|
assert.NoError(t, e.Setup())
|
||||||
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, readTestFixture(t, dir, "task-with-details-details.txt"), buff.String())
|
assert.Equal(t, readTestFixture(t, dir, "task-with-details.txt"), buff.String())
|
||||||
|
|
||||||
buff.Reset()
|
buff.Reset()
|
||||||
const noDetails = "task-without-details"
|
const noDetails = "task-without-details"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user