golden

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package golden asserts golden files contents.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequireEqual

func RequireEqual(tb testing.TB, out []byte)

func RequireEqualExt added in v1.4.0

func RequireEqualExt(tb testing.TB, out []byte, ext string)

func RequireEqualJSON

func RequireEqualJSON(tb testing.TB, out []byte)

func RequireEqualRb

func RequireEqualRb(tb testing.TB, out []byte)

func RequireEqualTxt

func RequireEqualTxt(tb testing.TB, out []byte)

func RequireEqualYaml

func RequireEqualYaml(tb testing.TB, out []byte)

func RequireReadFile added in v1.2.0

func RequireReadFile(tb testing.TB, path string) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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