pkger/pkging/mem/walk_test.go

21 lines
307 B
Go
Raw Normal View History

2019-10-31 00:32:47 +03:00
package mem
import (
"testing"
"github.com/markbates/pkger/pkging/costello"
"github.com/stretchr/testify/require"
)
func Test_Pkger_Walk(t *testing.T) {
r := require.New(t)
ref, err := costello.NewRef()
r.NoError(err)
pkg, err := New(ref.Info)
r.NoError(err)
costello.WalkTest(t, ref, pkg)
}