Versions in this module Expand all Collapse all v0 v0.2.0 Jun 7, 2020 Changes in this version + func ReadGoldenFile(t *testing.T, filename string) []byte + func ReaderFromGoldenFile(t *testing.T, filename string) (*bufio.Reader, func() error) v0.1.0 May 29, 2020 Changes in this version + func AddFileToFs(t *testing.T, filename string, content []byte, baseFs afero.Fs) + func AddFileToFsByName(t *testing.T, filename, subset string, baseFs afero.Fs) + func CmpIfErr(t *testing.T, err error, old, actual, new interface{}, msg string) + func CmpWithGoldenFile(t *testing.T, got []byte, goldenFilename, msg string) + func IOExist(t *testing.T, Fs afero.Fs, sth string, ...) bool + func IOReadFile(t *testing.T, Fs afero.Fs, sth string) []byte + func ReadJsonnet(t *testing.T, name string) []byte