mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
Remove argument passing runtime GOOS
This commit is contained in:
@@ -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)))
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user