woodpecker/vendor/github.com/stretchr/testify/assert/forward_assertions.go

17 lines
366 B
Go
Raw Normal View History

2015-09-30 21:00:48 +00:00
package assert
2016-03-07 19:23:49 +00:00
// Assertions provides assertion methods around the
// TestingT interface.
2015-09-30 21:00:48 +00:00
type Assertions struct {
t TestingT
}
2016-03-07 19:23:49 +00:00
// New makes a new Assertions object for the specified TestingT.
2015-09-30 21:00:48 +00:00
func New(t TestingT) *Assertions {
return &Assertions{
t: t,
}
}
2016-03-07 19:23:49 +00:00
//go:generate go run ../_codegen/main.go -output-package=assert -template=assertion_forward.go.tmpl