blob: 1dcb2338c4c4627f67b6a981a6fd38a76833b20c [file] [log] [blame]
amit.ghosh6ab2a982022-09-15 21:04:53 +02001package require
2
3// Assertions provides assertion methods around the
4// TestingT interface.
5type Assertions struct {
6 t TestingT
7}
8
9// New makes a new Assertions object for the specified TestingT.
10func New(t TestingT) *Assertions {
11 return &Assertions{
12 t: t,
13 }
14}
15
16//go:generate sh -c "cd ../_codegen && go build && cd - && ../_codegen/_codegen -output-package=require -template=require_forward.go.tmpl -include-format-funcs"