test

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrContains

func ErrContains(t *testing.T, err error, errContains string) bool

func SetEnv

func SetEnv(t *testing.T, k, v string)

func TmpDir

func TmpDir(t *testing.T) string

Similar to testing.T.TempDir, but doesn't use the test name in the folder name. Helpful when a shorter filesystem path is desired.

func WriteFile

func WriteFile(t *testing.T, path, body string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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