sq/cli/hostinfo/hostinfo_test.go
Neil O'Toole 97739da1e1
: sq version host info ()
* sq version host info

* workflow: update bug_report.md with version instructions
2023-06-21 06:28:15 -06:00

19 lines
275 B
Go

package hostinfo_test
import (
"testing"
"github.com/neilotoole/sq/cli/hostinfo"
"github.com/neilotoole/slogt"
)
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())
}