2767d9ba05
These were deprecated inddd9665289
(v25.0), and3c1de2e667
, and are no longer used. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
17 lines
304 B
Go
17 lines
304 B
Go
package homedir // import "github.com/docker/docker/pkg/homedir"
|
|
|
|
import (
|
|
"path/filepath"
|
|
"testing"
|
|
)
|
|
|
|
func TestGet(t *testing.T) {
|
|
home := Get()
|
|
if home == "" {
|
|
t.Fatal("returned home directory is empty")
|
|
}
|
|
|
|
if !filepath.IsAbs(home) {
|
|
t.Fatalf("returned path is not absolute: %s", home)
|
|
}
|
|
}
|