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

This commit is contained in:
Matthias Loibl committed 2016-11-07 23:31:39 +01:00
1 parent 70fb1cf9d1
commit a5d0b4de5b
20 files changed
+4533

No files matched your search

+16
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