mirror of
https://github.com/neilotoole/sq.git
synced 2024-12-18 13:41:49 +03:00
db55986980
- Support for ingest cache, download cache, and progress bars.
18 lines
287 B
Go
18 lines
287 B
Go
package hostinfo_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/neilotoole/sq/cli/hostinfo"
|
|
"github.com/neilotoole/sq/libsq/core/lg/lgt"
|
|
)
|
|
|
|
func TestGet(t *testing.T) {
|
|
info := hostinfo.Get()
|
|
|
|
log := lgt.New(t)
|
|
log.Debug("Via slog", "sys", info)
|
|
|
|
t.Logf("Via string: %s", info.String())
|
|
}
|