pkger/fs/hdwh/hdwh_test.go

25 lines
392 B
Go

package hdwh
import (
"path/filepath"
"testing"
"github.com/markbates/pkger/fs/fstest"
"github.com/stretchr/testify/require"
)
func Test_FS(t *testing.T) {
r := require.New(t)
myfs, err := New()
r.NoError(err)
myfs.current.Dir = filepath.Join(myfs.current.Dir, ".fstest")
myfs.paths.Current = myfs.current
suite, err := fstest.NewSuite(myfs)
r.NoError(err)
suite.Test(t)
}