add test to utils package

This commit is contained in:
Anthony HAMON
2018-08-19 10:37:03 +02:00
parent 81b07daa01
commit f91b4067f4
12 changed files with 3979 additions and 106 deletions
+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 -include-format-funcs