Documentation
¶
Index ¶
- func ArchiveToMap(a *txtar.Archive) map[string][]byte
- func Equal[T comparable](t testing.TB, expected, got T)
- func IsErr(t testing.TB, err error, messageArgs ...interface{})
- func NotErr(t testing.TB, err error, messageArgs ...interface{})
- func PtrInt(i int) *int
- func WriteTxtarToTmp(t testing.TB, txtarPath string) (string, func())
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArchiveToMap ¶
Convert an archive to a map where the keys are the filenames
func Equal ¶
func Equal[T comparable](t testing.TB, expected, got T)
Equal asserts that expected = got
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.