Files
ProjectOctopus/agent-go/status/Host_test.go
2024-01-18 15:32:50 +08:00

17 lines
220 B
Go

package status
import (
"agent-go/utils"
"testing"
)
func TestGetHostInfo(t *testing.T) {
info, err := GetHostInfo()
if err != nil {
t.Errorf("get host info error is %v", err)
}
utils.BeautifulPrint(info)
}