assert: github.com/bmizerany/assert Index | Files | Directories

package assert

import "github.com/bmizerany/assert"

Index

Package Files

assert.go

func Equal Uses

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

func Equalf Uses

func Equalf(t *testing.T, exp, got interface{}, format string, args ...interface{})

func NotEqual Uses

func NotEqual(t *testing.T, exp, got interface{}, args ...interface{})

func Panic Uses

func Panic(t *testing.T, err interface{}, fn func())

func T Uses

func T(t *testing.T, result bool, args ...interface{})

func Tf Uses

func Tf(t *testing.T, result bool, format string, args ...interface{})

Directories

PathSynopsis
example

Package assert imports 5 packages (graph) and is imported by 20 packages. Updated 2016-07-16. Refresh now. Tools for package owners.