Remove argument passing runtime GOOS

This commit is contained in:
bckr 2020-03-03 15:39:43 +01:00
parent 86a5ff9cb9
commit 977e7ac8b3

View file

@ -4,7 +4,6 @@ package docker
import (
"path/filepath"
"runtime"
"testing"
"github.com/stretchr/testify/require"
@ -58,7 +57,7 @@ func TestExpandPath(t *testing.T) {
for _, c := range cases {
t.Run(c.expected, func(t *testing.T) {
require.Equal(t, c.expected, filepath.ToSlash(expandPath(c.base, c.target, runtime.GOOS)))
require.Equal(t, c.expected, filepath.ToSlash(expandPath(c.base, c.target)))
})
}
}