File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package jmespath
2
2
3
3
import "strconv"
4
4
5
- // JmesPath is the epresentation of a compiled JMES path query. A JmesPath is
5
+ // JMESPath is the epresentation of a compiled JMES path query. A JMESPath is
6
6
// safe for concurrent use by multiple goroutines.
7
7
type JMESPath struct {
8
8
ast ASTNode
Original file line number Diff line number Diff line change 1
1
package jmespath
2
2
3
3
import (
4
- "github.com/stretchr/testify/assert"
5
4
"testing"
5
+
6
+ "github.com/stretchr/testify/assert"
6
7
)
7
8
8
9
func TestSlicePositiveStep (t * testing.T ) {
@@ -45,7 +46,7 @@ func TestIsFalseWithUserDefinedStructs(t *testing.T) {
45
46
46
47
func TestIsFalseWithNilInterface (t * testing.T ) {
47
48
assert := assert .New (t )
48
- var a * int = nil
49
+ var a * int
49
50
var nilInterface interface {}
50
51
nilInterface = a
51
52
assert .True (isFalse (nilInterface ))
You can’t perform that action at this time.
0 commit comments