test

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestResultString = "\n%s test failed.\n\nReturned:\n%+v\n\nExpected:\n%+v"

Functions

func ErrEqual

func ErrEqual(err1 error, err2 error) bool

Types

type Data

type Data struct {
	Expected interface{}
	Data     interface{}
}

type DataSet

type DataSet map[string]Data

type OrderedTestList

type OrderedTestList []string

type OrderedTests

type OrderedTests struct {
	TestDataSet DataSet
	OrderedList OrderedTestList
}

Jump to

Keyboard shortcuts

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