golden

package
v1.3.3-0...-252e610 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package golden provides function and helpers to use golden file for testing purpose.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(t *testing.T, actual []byte, filename string) []byte

Get returns the golden file content. If the `test.update` is specified, it updates the file with the current output and returns it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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