testutil

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Update = flag.Bool("update", false, "update golden files")

Update is a test flag for updating golden files.

Functions

func AssertGolden

func AssertGolden(t *testing.T, schema []byte, goldenFile string)

AssertGolden compares the generated schema with a golden file.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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