testutil

package
v2.6.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Warn is used when printing warnings
	Warn = colored(31)
	// Okay is used when printing text signifying a passed test
	Okay = colored(32)
	// Info is used for info messages
	Info = colored(35)
	// Notice is used for less important info messages
	Notice = colored(36)

	// String is used when printing strings
	String = colored(33)
)

Functions

func Compare

func Compare(t *testing.T, expected string, out string)

Compare data with the expected data and prints test output

Types

This section is empty.

Jump to

Keyboard shortcuts

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