pkger/pkging/costello/current.go

17 lines
252 B
Go
Raw Normal View History

package costello
2019-10-31 00:15:49 +03:00
import (
"testing"
"github.com/markbates/pkger/pkging"
)
func CurrentTest(t *testing.T, ref *Ref, pkg pkging.Pkger) {
// panic("ref")
2019-10-31 00:15:49 +03:00
cur, err := pkg.Current()
if err != nil {
t.Fatal(err)
}
cmpHereInfo(t, ref.Info, cur)
2019-10-31 00:15:49 +03:00
}