testutil

package
v5.0.0-beta.2+incompat... Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UpdateGolden = flag.Bool("update-golden", false,
		"update the golden file instead of comparing it")
)

Functions

func AssertGolden

func AssertGolden(t *testing.T, filename string, data []byte)

func AssertGoldenJSON

func AssertGoldenJSON(t *testing.T, filename string, data interface{})

func AssertGoldenYAML

func AssertGoldenYAML(t *testing.T, filename string, data interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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