Skip to content

Commit

Permalink
fix go test
Browse files Browse the repository at this point in the history
Signed-off-by: Tony Worm <tony@hofstadter.io>
  • Loading branch information
verdverm committed Nov 19, 2021
1 parent bd4c8b2 commit 07a7a35
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion structural/pick_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import (
"testing"

"cuelang.org/go/cue/cuecontext"

"github.com/hofstadter-io/cuetils/cmd/cuetils/flags"
"github.com/hofstadter-io/cuetils/structural"
)

Expand Down Expand Up @@ -47,7 +49,7 @@ func TestPick(t *testing.T) {
if f.Err() != nil {
t.Fatalf("failed to compile from in TestPick %d", i)
}
r, _ := structural.PickValue(p, f)
r, _ := structural.PickValue(p, f, &flags.RootPflags)

o, err := structural.FormatOutput(r, "cue")
if err != nil {
Expand Down

0 comments on commit 07a7a35

Please sign in to comment.