test

package
v0.0.0-...-1327151 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package test provides testing utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertClose

func AssertClose(t *testing.T, c io.Closer)

AssertClose closes c and fails the test on error.

func RequiresNetwork

func RequiresNetwork(t *testing.T)

func TempDir

func TempDir(t *testing.T) string

TempDir creates a temp directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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