File tree Expand file tree Collapse file tree 9 files changed +11
-14
lines changed Expand file tree Collapse file tree 9 files changed +11
-14
lines changed Original file line number Diff line number Diff line change 13
13
generate :
14
14
go generate ${SRC_PKGS}
15
15
16
- get-deps :
17
- go get -v -t ./ ./cmd/... ./compliance/... ./fuzz/...
18
-
19
16
build :
20
17
rm -f $(CMD )
21
18
go build ${SRC_PKGS}
Original file line number Diff line number Diff line change 4
4
"encoding/json"
5
5
"testing"
6
6
7
- "github.com/stretchr /testify/assert"
7
+ "github.com/jmespath/go-jmespath/internal /testify/assert"
8
8
)
9
9
10
10
func TestValidUncompiledExpressionSearches (t * testing.T ) {
Original file line number Diff line number Diff line change 8
8
"path/filepath"
9
9
"testing"
10
10
11
- "github.com/stretchr /testify/assert"
11
+ "github.com/jmespath/go-jmespath/internal /testify/assert"
12
12
)
13
13
14
14
type TestSuite struct {
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ module github.com/jmespath/go-jmespath
2
2
3
3
go 1.14
4
4
5
- require github.com/stretchr /testify v1.5.1
5
+ require github.com/jmespath/go-jmespath/internal /testify v1.5.1
Original file line number Diff line number Diff line change 1
1
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8 =
2
2
github.com/davecgh/go-spew v1.1.0 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
3
+ github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8 =
4
+ github.com/jmespath/go-jmespath/internal/testify v1.5.1 /go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U =
3
5
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM =
4
6
github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
5
7
github.com/stretchr/objx v0.1.0 /go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME =
6
- github.com/stretchr/testify v1.5.1 h1:nOGnQDM7FYENwehXlg/kFVnos3rEvtKTjRvOWSzb6H4 =
7
- github.com/stretchr/testify v1.5.1 /go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA =
8
8
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM =
9
9
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
10
- gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw =
11
- gopkg.in/yaml.v2 v2.2.2 /go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI =
10
+ gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10 =
11
+ gopkg.in/yaml.v2 v2.2.8 /go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI =
Original file line number Diff line number Diff line change 4
4
"encoding/json"
5
5
"testing"
6
6
7
- "github.com/stretchr /testify/assert"
7
+ "github.com/jmespath/go-jmespath/internal /testify/assert"
8
8
)
9
9
10
10
type scalars struct {
Original file line number Diff line number Diff line change 4
4
"fmt"
5
5
"testing"
6
6
7
- "github.com/stretchr /testify/assert"
7
+ "github.com/jmespath/go-jmespath/internal /testify/assert"
8
8
)
9
9
10
10
var lexingTests = []struct {
Original file line number Diff line number Diff line change 4
4
"fmt"
5
5
"testing"
6
6
7
- "github.com/stretchr /testify/assert"
7
+ "github.com/jmespath/go-jmespath/internal /testify/assert"
8
8
)
9
9
10
10
var parsingErrorTests = []struct {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package jmespath
3
3
import (
4
4
"testing"
5
5
6
- "github.com/stretchr /testify/assert"
6
+ "github.com/jmespath/go-jmespath/internal /testify/assert"
7
7
)
8
8
9
9
func TestSlicePositiveStep (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments