mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-11-04 07:49:35 +00:00 
			
		
		
		
	godep restore pushd $GOPATH/src/github.com/appc/spec git co master popd go get go4.org/errorutil rm -rf Godeps godep save ./... git add vendor git add -f $(git ls-files --other vendor/) git co -- Godeps/LICENSES Godeps/.license_file_state Godeps/OWNERS
		
			
				
	
	
		
			11 lines
		
	
	
		
			326 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			326 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package assert
 | 
						|
 | 
						|
import (
 | 
						|
	"errors"
 | 
						|
)
 | 
						|
 | 
						|
// AnError is an error instance useful for testing.  If the code does not care
 | 
						|
// about error specifics, and only needs to return the error for example, this
 | 
						|
// error should be used to make the test code more readable.
 | 
						|
var AnError = errors.New("assert.AnError general error for testing")
 |