Documentation
¶
Index ¶
- func Must[T any](x T, err error) func(t *testing.T) T
- func MustMkdirAll(t *testing.T, path ...string)
- func MustReadFile(t *testing.T, path string) []byte
- func MustRemove(t *testing.T, path string)
- func MustWriteFile(t *testing.T, path string, contents []byte)
- func TempDirectoryOf(t *testing.T, files map[string]string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustMkdirAll ¶ added in v0.31.0
func MustRemove ¶ added in v0.31.0
func MustWriteFile ¶ added in v0.31.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.