44 "fmt"
55 "testing"
66
7+ "github.com/evilmonkeyinc/jsonpath/option"
78 "github.com/stretchr/testify/assert"
89)
910
@@ -15,7 +16,7 @@ func Test_newRangeToken(t *testing.T) {
1516
1617 type input struct {
1718 to , from , step interface {}
18- options * Options
19+ options * option. QueryOptions
1920 }
2021
2122 type expected * rangeToken
@@ -35,7 +36,7 @@ func Test_newRangeToken(t *testing.T) {
3536 },
3637 {
3738 input : input {
38- options : & Options {},
39+ options : & option. QueryOptions {},
3940 },
4041 expected : & rangeToken {
4142 allowMap : false ,
@@ -44,7 +45,7 @@ func Test_newRangeToken(t *testing.T) {
4445 },
4546 {
4647 input : input {
47- options : & Options {
48+ options : & option. QueryOptions {
4849 AllowMapReferenceByIndex : false ,
4950 AllowStringReferenceByIndex : false ,
5051
@@ -59,7 +60,7 @@ func Test_newRangeToken(t *testing.T) {
5960 },
6061 {
6162 input : input {
62- options : & Options {
63+ options : & option. QueryOptions {
6364 AllowMapReferenceByIndex : true ,
6465 AllowStringReferenceByIndex : true ,
6566
@@ -74,7 +75,7 @@ func Test_newRangeToken(t *testing.T) {
7475 },
7576 {
7677 input : input {
77- options : & Options {
78+ options : & option. QueryOptions {
7879 AllowMapReferenceByIndex : true ,
7980 AllowStringReferenceByIndex : true ,
8081
@@ -89,7 +90,7 @@ func Test_newRangeToken(t *testing.T) {
8990 },
9091 {
9192 input : input {
92- options : & Options {
93+ options : & option. QueryOptions {
9394 AllowMapReferenceByIndex : false ,
9495 AllowStringReferenceByIndex : false ,
9596
0 commit comments