mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 08:20:25 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			243 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			243 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package biz
 | 
						|
 | 
						|
import (
 | 
						|
	"testing"
 | 
						|
)
 | 
						|
 | 
						|
func TestErrIsNil(t *testing.T) {
 | 
						|
	// ErrIsNil(NewBizErr("xxx is error"))
 | 
						|
	// ErrIsNil(NewBizErr("xxx is error"), "格式错误")
 | 
						|
	// ErrIsNil(NewBizErr("xxx is error"), "格式错误: %s, %d", "xxx", 12)
 | 
						|
}
 |