Install github.com/stretchr/testify/require.

This commit is contained in:
Timo Reimann 2017-04-27 01:02:00 +02:00 committed by Ludovic Fernandez
parent a04ef15bcd
commit 55f610422a
7 changed files with 838 additions and 0 deletions

View file

@ -0,0 +1,16 @@
package require
// Assertions provides assertion methods around the
// TestingT interface.
type Assertions struct {
t TestingT
}
// New makes a new Assertions object for the specified TestingT.
func New(t TestingT) *Assertions {
return &Assertions{
t: t,
}
}
//go:generate go run ../_codegen/main.go -output-package=require -template=require_forward.go.tmpl