golden

package
v1.29.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertMatchesFile

func AssertMatchesFile(t *testing.T, actual string, p string)

AssertMatchesFile matches the actual value to a with expected file. If HACK_UPDATE_EXPECTED_IN_PLACE is set, it will write the actual value to the expected file, which is very handy when updating our tests.

func UpdateExpectedOutput added in v1.24.0

func UpdateExpectedOutput() bool

UpdateExpectedOutput returns true if we should be writing/updating the expected output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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