package gold

import "github.com/ClickHouse/ch-go/internal/gold"

Package gold implements golden files.

Index

Functions

func Bytes

func Bytes(t testing.TB, data []byte, name ...string)

Bytes check binary golden file.

func Init

func Init()

Init should be called in TestMain.

func Str

func Str(t testing.TB, s string, name ...string)

Str checks text golden file.

Source Files

gold.go

Version
v0.62.0
Published
Jul 1, 2024
Platform
darwin/amd64
Imports
8 packages
Last checked
6 minutes ago

Tools for package owners.