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.2.0
Published
May 22, 2024
Platform
windows/amd64
Imports
4 packages
Last checked
37 minutes ago

Tools for package owners.