package testutils
import "github.com/go-text/typesetting/testutils"
Index ¶
- func Assert(t testing.TB, b bool)
- func AssertC(t testing.TB, b bool, context string)
- func AssertNoErr(t testing.TB, err error)
- func Filenames(t testing.TB, dir string) []string
- func FilenamesFS(t testing.TB, fs *embed.FS, dir string) []string
Functions ¶
func Assert ¶
func AssertC ¶
func AssertNoErr ¶
func Filenames ¶
Filenames return the "absolute" file names of the given directory excluding directories, and not recursing. It uses the opentype embed file system.
func FilenamesFS ¶
Source Files ¶
- Version
- v0.3.0 (latest)
- Published
- Feb 21, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 16 hours ago –
Tools for package owners.