mirror of
https://github.com/go-task/task.git
synced 2025-11-23 22:24:45 +02:00
Merge branch 'master' into v3
This commit is contained in:
@@ -12,10 +12,8 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/go-task/task/v2"
|
||||
_ "github.com/go-task/task/v2/internal/homefix"
|
||||
"github.com/go-task/task/v2/internal/taskfile"
|
||||
|
||||
"github.com/mitchellh/go-homedir"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
@@ -442,7 +440,7 @@ func TestTaskIgnoreErrors(t *testing.T) {
|
||||
func TestExpand(t *testing.T) {
|
||||
const dir = "testdata/expand"
|
||||
|
||||
home, err := homedir.Dir()
|
||||
home, err := os.UserHomeDir()
|
||||
if err != nil {
|
||||
t.Errorf("Couldn't get $HOME: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user