Files
ProjectOctopus/agent-go/status/Status_test.go

20 lines
244 B
Go

package status
import (
"encoding/json"
"fmt"
"testing"
)
func TestReportAppStatus(t *testing.T) {
agentStatus := ReportAppStatus()
marshal, err := json.Marshal(agentStatus)
if err != nil {
return
}
fmt.Printf(string(marshal))
}