forked from mirror/pkger
21 lines
316 B
Go
21 lines
316 B
Go
|
package stdos
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/markbates/pkger/pkging/costello"
|
||
|
"github.com/stretchr/testify/require"
|
||
|
)
|
||
|
|
||
|
func Test_Pkger_MkdirAll(t *testing.T) {
|
||
|
r := require.New(t)
|
||
|
|
||
|
ref, err := costello.NewRef()
|
||
|
r.NoError(err)
|
||
|
|
||
|
pkg, err := NewTemp(ref)
|
||
|
r.NoError(err)
|
||
|
|
||
|
costello.MkdirAllTest(t, ref, pkg)
|
||
|
}
|