aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/stretchr/testify/require/forward_requirements.go
blob: 1dcb2338c4c4627f67b6a981a6fd38a76833b20c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package require

// 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 sh -c "cd ../_codegen && go build && cd - && ../_codegen/_codegen -output-package=require -template=require_forward.go.tmpl -include-format-funcs"