1
0
mirror of https://github.com/go-task/task.git synced 2025-08-10 22:42:19 +02:00

refatoring

This commit is contained in:
jaedle
2019-02-24 14:31:29 +01:00
parent 1054c89a9d
commit fb666394fc
2 changed files with 8 additions and 1 deletions

View File

@@ -596,7 +596,7 @@ func TestDetails(t *testing.T) {
buff.Reset() buff.Reset()
assert.NoError(t, e.Run(context.Background(), taskfile.Call{Task: "task-with-description-containing-empty-line"})) assert.NoError(t, e.Run(context.Background(), taskfile.Call{Task: "task-with-description-containing-empty-line"}))
assert.Equal(t, "task: task-with-description-containing-empty-line\n\nFirst line followed by empty line\n\nLast Line\n\ncommands:\n", buff.String()) assert.Equal(t, readTestFixture(t, dir, "expected-task-with-description-containing-empty-line.txt"), buff.String())
} }

View File

@@ -0,0 +1,7 @@
task: task-with-description-containing-empty-line
First line followed by empty line
Last Line
commands: