testhelper

package
v0.2.13 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2020 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