Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Okhlopkov <[email protected]>
  • Loading branch information
Pavel Okhlopkov committed Nov 2, 2024
1 parent 10e8c73 commit 7e55e15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ run:
timeout: 15m
skip-dirs:
- test/integration
- pkg/hook/binding_context
linters:
disable-all: true
enable:
Expand Down
4 changes: 2 additions & 2 deletions pkg/hook/binding_context/binding_context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ import (
"github.com/stretchr/testify/assert"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"

. "github.com/flant/libjq-go"
"github.com/flant/libjq-go"
. "github.com/flant/shell-operator/pkg/hook/types"
. "github.com/flant/shell-operator/pkg/kube_events_manager/types"
)

func JqEqual(t *testing.T, input []byte, program string, expected string) {
//nolint:typecheck // Ignore false positive: undeclared name: `Jq`.
res, err := Jq().Program(program).Run(string(input))
res, err := libjq_go.Jq().Program(program).Run(string(input))

Check failure on line 17 in pkg/hook/binding_context/binding_context_test.go

View workflow job for this annotation

GitHub Actions / Run linter

undefined: libjq_go (typecheck)
if assert.NoError(t, err) {
assert.Equal(t, expected, res, "jq: '%s', json was '%s'", program, string(input))
}
Expand Down

0 comments on commit 7e55e15

Please sign in to comment.