mirror of
https://github.com/go-task/task.git
synced 2025-06-23 00:38:19 +02:00
chore: changelog and minor adjustments for #2018
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
package task_test
|
||||
|
||||
import (
|
||||
"io"
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
@ -20,7 +19,7 @@ func TestInitDir(t *testing.T) {
|
||||
t.Errorf("Taskfile.yml should not exist")
|
||||
}
|
||||
|
||||
if _, err := task.InitTaskfile(io.Discard, dir); err != nil {
|
||||
if _, err := task.InitTaskfile(dir); err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
|
||||
@ -42,7 +41,7 @@ func TestInitFile(t *testing.T) {
|
||||
t.Errorf("Tasks.yml should not exist")
|
||||
}
|
||||
|
||||
if _, err := task.InitTaskfile(io.Discard, file); err != nil {
|
||||
if _, err := task.InitTaskfile(file); err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user