sq/cli/hostinfo/hostinfo_test.go
2023-11-19 18:06:36 -07:00

19 lines
275 B
Go

package hostinfo_test
import (
"testing"
"github.com/neilotoole/slogt"
"github.com/neilotoole/sq/cli/hostinfo"
)
func TestGet(t *testing.T) {
info := hostinfo.Get()
log := slogt.New(t)
log.Debug("Via slog", "sys", info)
t.Logf("Via string: %s", info.String())
}