Remove argument passing runtime GOOS

This commit is contained in:
bckr
2020-03-03 15:39:43 +01:00
parent 1549ed827a
commit d9cf32657e

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