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