mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-30 07:27:41 +01:00
9 lines
246 B
Go
9 lines
246 B
Go
package require
|
|
|
|
// TestingT is an interface wrapper around *testing.T
|
|
type TestingT interface {
|
|
Errorf(format string, args ...interface{})
|
|
FailNow()
|
|
}
|
|
|
|
//go:generate go run ../_codegen/main.go -output-package=require -template=require.go.tmpl
|