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.47.2
Published
Jul 26, 2022
Platform
js/wasm
Imports
8 packages
Last checked
4 minutes ago

Tools for package owners.