Vendor github.com/stretchr/testify for the assert package

This commit is contained in:
Matthias Loibl 2016-11-07 20:31:59 +01:00
parent 70fb1cf9d1
commit a5d0b4de5b
No known key found for this signature in database
GPG key ID: B1C7DF661ABB2C1A
20 changed files with 4533 additions and 0 deletions

View file

@ -0,0 +1,16 @@
package assert
// 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=assert -template=assertion_forward.go.tmpl