Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UpdateGolden = flag.Bool("update", false, "update golden files")
UpdateGolden writes out the golden files with the latest values, rather than failing the test. Example: go test ./cmd/svcat --update
Functions ¶
func AssertEqualsGoldenFile ¶
AssertEqualsGoldenFile asserts that the value equals the contents of the golden file. When the go test -update flag is present, the golden file is updated to match, rather than failing the test.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.