Skip to content

Commit 9642d7f

Browse files
committed
Fix check issues
1 parent bd40a43 commit 9642d7f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package jmespath
22

33
import "strconv"
44

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
66
// safe for concurrent use by multiple goroutines.
77
type JMESPath struct {
88
ast ASTNode

util_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
package jmespath
22

33
import (
4-
"github.com/stretchr/testify/assert"
54
"testing"
5+
6+
"github.com/stretchr/testify/assert"
67
)
78

89
func TestSlicePositiveStep(t *testing.T) {
@@ -45,7 +46,7 @@ func TestIsFalseWithUserDefinedStructs(t *testing.T) {
4546

4647
func TestIsFalseWithNilInterface(t *testing.T) {
4748
assert := assert.New(t)
48-
var a *int = nil
49+
var a *int
4950
var nilInterface interface{}
5051
nilInterface = a
5152
assert.True(isFalse(nilInterface))

0 commit comments

Comments
 (0)