1
0
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:
Pete Davison
2025-02-10 11:24:32 +00:00
parent 0e23404d23
commit ff8c913ce7
4 changed files with 10 additions and 10 deletions

View File

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