testhelper

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseSurely

func CloseSurely(t *testing.T, closer Closer)

func DeleteTempDir

func DeleteTempDir(t *testing.T, path string)

func MakeTempDir

func MakeTempDir(t *testing.T, name string) string

func MustExist

func MustExist(t *testing.T, inPath string, want []string) error

Types

type Closer

type Closer interface {
	Close() error
}

Jump to

Keyboard shortcuts

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