1
0
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:
Andrey Nering
2019-09-08 22:12:02 -03:00
7 changed files with 25 additions and 47 deletions

View File

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