assert

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package assert is a helper package for asserting equality and generating diffs in tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equalf

func Equalf(t *testing.T, exp, act interface{}, msg string, v ...interface{})

Equalf compares exp to act. If they are not equal, it will fatal the test with the passed msg, args and also a diff of the differences.

Types

This section is empty.

Jump to

Keyboard shortcuts

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