golden

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: Apache-2.0 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

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

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