mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	* move code.gitea.io/git to code.gitea.io/gitea/modules/git * fix imports * fix fmt * fix misspell * remove wrong tests data * fix unit tests * fix tests * fix tests * fix tests * fix tests * fix tests * enable Debug to trace the failure tests * fix tests * fix tests * fix tests * fix tests * fix tests * comment commit count tests since git clone depth is 50 * fix tests * update from code.gitea.io/git * revert change to makefile
		
			
				
	
	
		
			17 lines
		
	
	
		
			388 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			388 B
		
	
	
	
		
			Go
		
	
	
	
	
	
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 -include-format-funcs
 |