sq/libsq/core/lg/lg_test.go
Neil O'Toole db55986980
#307: Ingest cache (#354)
- Support for ingest cache, download cache, and progress bars.
2024-01-14 18:45:34 -07:00

20 lines
303 B
Go

package lg_test
import (
"context"
"testing"
"github.com/neilotoole/sq/libsq/core/lg"
"github.com/neilotoole/sq/libsq/core/lg/lgt"
)
func TestContext(t *testing.T) {
ctx := context.Background()
log := lgt.New(t)
ctx = lg.NewContext(ctx, log)
log = lg.FromContext(ctx)
log.Info("huzzah")
}