assert

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Equality

type Equality struct {
	// Message is the prefix message for the assersion
	Message string
	// Expected is the expected value for the assersion
	Expected string
	// Got is the actual value
	Got string
	// Continue used to determine weather or not to continue with futher assertions.
	IsEqual bool
}

func ErrorEquality

func ErrorEquality(expErr, gotErr error) Equality

func (Equality) Error

func (e Equality) Error() string

func (Equality) String

func (e Equality) String() string

Jump to

Keyboard shortcuts

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