1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-18 08:26:45 +02:00
woodpecker/vendor/github.com/stretchr/testify/assert/forward_assertions.go

17 lines
366 B
Go
Raw Normal View History

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