mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-05 00:11:55 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			286 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			286 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package utils
 | 
						|
 | 
						|
import (
 | 
						|
	teaconst "github.com/TeaOSLab/EdgeAPI/internal/const"
 | 
						|
	"testing"
 | 
						|
)
 | 
						|
 | 
						|
func TestServiceManager_Log(t *testing.T) {
 | 
						|
	manager := NewServiceManager(teaconst.ProductName, teaconst.ProductName+" Server")
 | 
						|
	manager.Log("Hello, World")
 | 
						|
	manager.LogError("Hello, World")
 | 
						|
}
 |