testutils

package
v0.0.0-...-7a887e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL