testutil

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package testutil holds helpers shared by tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Golden

func Golden(t *testing.T, path string, got []byte)

Golden compares got with the file at path, or rewrites the file when -update is set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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