package testutils

import "github.com/go-text/typesetting/testutils"

Index

Functions

func Assert

func Assert(t testing.TB, b bool)

func AssertC

func AssertC(t testing.TB, b bool, context string)

func AssertNoErr

func AssertNoErr(t testing.TB, err error)

func Filenames

func Filenames(t testing.TB, dir string) []string

Filenames return the "absolute" file names of the given directory excluding directories, and not recursing. It uses the opentype embed file system.

func FilenamesFS

func FilenamesFS(t testing.TB, fs *embed.FS, dir string) []string

Source Files

utils.go

Version
v0.3.0 (latest)
Published
Feb 21, 2025
Platform
linux/amd64
Imports
4 packages
Last checked
16 hours ago

Tools for package owners.