assert

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package assert provides assertion helpers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(t *testing.T, want, got interface{})

Types

type Assert

type Assert struct {
	// contains filtered or unexported fields
}

func (Assert) Equal

func (a Assert) Equal(want, got interface{})

Equal will call t.Fatal if want and got are not equal.

Jump to

Keyboard shortcuts

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