1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-06 18:47:19 +00:00

Unit tests for token and update models

This commit is contained in:
Ethan Koenig
2016-12-28 20:03:40 -05:00
committed by Kim "BKC" Carlbäcker
parent c0904f1942
commit de8b73dd92
41 changed files with 11919 additions and 0 deletions

View File

@ -0,0 +1,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 go run ../_codegen/main.go -output-package=require -template=require_forward.go.tmpl