Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jcieslak committed Oct 26, 2023
1 parent 3bc30f0 commit 110298e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/sdk/assertions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/stretchr/testify/require"
)

var assertOptsInvalidReg = regexp.MustCompile("^\\[\\w+\\.\\w+:\\d+\\] ")
var assertOptsInvalidReg = regexp.MustCompile(`^\[\w+\.\w+:\d+\] `)

// assertOptsInvalid could be reused in tests for other interfaces in sdk package.
func assertOptsInvalid(t *testing.T, opts validatable, expectedError error) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/sdk/errors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ package sdk
import (
"errors"
"fmt"
"github.com/stretchr/testify/require"
"strings"
"testing"

"github.com/stretchr/testify/require"
)

func TestWriteTree(t *testing.T) {
Expand Down

0 comments on commit 110298e

Please sign in to comment.