mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-10-30 21:30:16 +00:00 
			
		
		
		
	github.com/davecgh/go-spew/spew is set to the newest version, a bit newer than required by testify. Updated from version 6 Nov 2015 to 27 Jun 2017. github.com/stretchr/objx is not updated - testify uses version from 27 May 2014 which is older than 28 Sep 2015 used now (latest actually). In practice there is only a tiny difference - one method was removed in new version.
		
			
				
	
	
		
			17 lines
		
	
	
		
			388 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			388 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package assert
 | |
| 
 | |
| // 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=assert -template=assertion_forward.go.tmpl -include-format-funcs
 |