testutil

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareGoldenFile

func CompareGoldenFile(t *testing.T, tc GoldenTest)

CompareGoldenFile verifies that the output of an operation matches the expected output.

func CopyFile

func CopyFile(src, dst string) error

Types

type GoldenTest

type GoldenTest interface {
	Output() ([]byte, string)
}

Jump to

Keyboard shortcuts

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