sq/libsq/core/lg/lg_test.go
Neil O'Toole 3180334c0c
#199: Config overhaul (#214)
* refactor: partially moved over driver.Tuning params to options

* All knobs moved to options

* sq config edit: now has comments for options

* Major work complete on config/options overhaul

* Major work complete on config/options overhaul

* Updated help text for 'sq version'
2023-05-03 06:36:10 -06:00

21 lines
291 B
Go

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