Skip to content

Commit

Permalink
chore: update cucumber dependencies (#31)
Browse files Browse the repository at this point in the history
Closes #21
  • Loading branch information
aaronc committed Feb 13, 2024
1 parent 2968ddb commit 8921eae
Show file tree
Hide file tree
Showing 16 changed files with 26 additions and 36 deletions.
2 changes: 1 addition & 1 deletion datatable.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"reflect"

"github.com/cockroachdb/apd/v3"
messages "github.com/cucumber/messages/go/v21"
messages "github.com/cucumber/messages/go/v22"
)

// DataTable wraps a data table step argument
Expand Down
2 changes: 1 addition & 1 deletion find_step.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gocuke
import (
"testing"

messages "github.com/cucumber/messages/go/v21"
messages "github.com/cucumber/messages/go/v22"
)

func (r *Runner) findStep(t *testing.T, step *messages.PickleStep) *stepDef {
Expand Down
7 changes: 3 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ go 1.21
require (
github.com/bmatcuk/doublestar/v4 v4.6.1
github.com/cockroachdb/apd/v3 v3.2.1
github.com/cucumber/common/messages/go/v19 v19.1.2
github.com/cucumber/gherkin/go/v26 v26.2.0
github.com/cucumber/messages/go/v21 v21.0.1
github.com/cucumber/tag-expressions/go/v5 v5.0.6
github.com/cucumber/gherkin/go/v27 v27.0.0
github.com/cucumber/messages/go/v22 v22.0.0
github.com/cucumber/tag-expressions/go/v6 v6.1.0
github.com/google/go-cmp v0.6.0
github.com/stretchr/testify v1.8.4
gotest.tools/v3 v3.5.1
Expand Down
21 changes: 6 additions & 15 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,14 @@ github.com/bmatcuk/doublestar/v4 v4.6.1/go.mod h1:xBQ8jztBU6kakFMg+8WGxn0c6z1fTS
github.com/cockroachdb/apd/v3 v3.2.1 h1:U+8j7t0axsIgvQUqthuNm82HIrYXodOV2iWLWtEaIwg=
github.com/cockroachdb/apd/v3 v3.2.1/go.mod h1:klXJcjp+FffLTHlhIG69tezTDvdP065naDsHzKhYSqc=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/cucumber/common/messages/go/v19 v19.1.2 h1:8/ZkW9rj3KQo/regmI8kcy48tk57m427Olb7Y0lXcN4=
github.com/cucumber/common/messages/go/v19 v19.1.2/go.mod h1:0KLDvMVmmkEZcWUSKxFHSUSLS1gjujBbPN0p41IwwJ4=
github.com/cucumber/gherkin/go/v26 v26.2.0 h1:EgIjePLWiPeslwIWmNQ3XHcypPsWAHoMCz/YEBKP4GI=
github.com/cucumber/gherkin/go/v26 v26.2.0/go.mod h1:t2GAPnB8maCT4lkHL99BDCVNzCh1d7dBhCLt150Nr/0=
github.com/cucumber/messages/go/v21 v21.0.1 h1:wzA0LxwjlWQYZd32VTlAVDTkW6inOFmSM+RuOwHZiMI=
github.com/cucumber/messages/go/v21 v21.0.1/go.mod h1:zheH/2HS9JLVFukdrsPWoPdmUtmYQAQPLk7w5vWsk5s=
github.com/cucumber/tag-expressions/go/v5 v5.0.6 h1:F0mqsu69cG/3MTTZqy+PlaPcU/MMl936OJjxKgdFgWs=
github.com/cucumber/tag-expressions/go/v5 v5.0.6/go.mod h1:/sHRc0Vt+pPjgQdNZjH8W2cnmb+tiVYp19VESzpGQsw=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/cucumber/gherkin/go/v27 v27.0.0 h1:waJh5eeq7rrKn5Gf3/FI4G34ypduPRaV8e370dnupDI=
github.com/cucumber/gherkin/go/v27 v27.0.0/go.mod h1:2JxwYskO0sO4kumc/Nv1g6bMncT5w0lShuKZnmUIhhk=
github.com/cucumber/messages/go/v22 v22.0.0 h1:hk3ITpEWQ+KWDe619zYcqtaLOfcu9jgClSeps3DlNWI=
github.com/cucumber/messages/go/v22 v22.0.0/go.mod h1:aZipXTKc0JnjCsXrJnuZpWhtay93k7Rn3Dee7iyPJjs=
github.com/cucumber/tag-expressions/go/v6 v6.1.0 h1:YOhnlISh/lyPZrLojFbJVzocv7TGhzOhB9aULN8A7Sg=
github.com/cucumber/tag-expressions/go/v6 v6.1.0/go.mod h1:6scGHUy3RLnbNq8un7XNoopF2qR/0RMgqolQH/TkycY=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/gofrs/uuid v4.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=
github.com/gofrs/uuid v4.4.0+incompatible h1:3qXRTX8/NbyulANqlc0lchS1gqAVxRgsuW1YrTJupqA=
github.com/gofrs/uuid v4.4.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
Expand All @@ -27,16 +23,11 @@ github.com/lib/pq v1.10.7 h1:p7ZhMD+KsSRozJr34udlUrhboJwWAgCg34+/ZZNvZZw=
github.com/lib/pq v1.10.7/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.4/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo=
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gotest.tools/v3 v3.5.1 h1:EENdUnS3pdur5nybKYIh2Vfgc8IUNBjxDPSjtiJcOzU=
Expand Down
2 changes: 1 addition & 1 deletion guess.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"unicode"

messages "github.com/cucumber/messages/go/v21"
messages "github.com/cucumber/messages/go/v22"
)

func guessMethodSig(step *messages.PickleStep) methodSig {
Expand Down
2 changes: 1 addition & 1 deletion guess_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gocuke
import (
"testing"

messages "github.com/cucumber/messages/go/v21"
messages "github.com/cucumber/messages/go/v22"
"gotest.tools/v3/assert"
)

Expand Down
4 changes: 2 additions & 2 deletions internal/tag/tags.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package tag

import (
messages "github.com/cucumber/messages/go/v21"
tag "github.com/cucumber/tag-expressions/go/v5"
messages "github.com/cucumber/messages/go/v22"
tag "github.com/cucumber/tag-expressions/go/v6"
)

func NewTags(tags ...string) Tags {
Expand Down
2 changes: 1 addition & 1 deletion run.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"

"github.com/bmatcuk/doublestar/v4"
gherkin "github.com/cucumber/gherkin/go/v26"
gherkin "github.com/cucumber/gherkin/go/v27"
"gotest.tools/v3/assert"
)

Expand Down
4 changes: 2 additions & 2 deletions run_doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package gocuke
import (
"testing"

gherkin "github.com/cucumber/gherkin/go/v26"
messages "github.com/cucumber/messages/go/v21"
gherkin "github.com/cucumber/gherkin/go/v27"
messages "github.com/cucumber/messages/go/v22"
)

type docRunner struct {
Expand Down
2 changes: 1 addition & 1 deletion run_scenario.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"reflect"
"testing"

messages "github.com/cucumber/messages/go/v21"
messages "github.com/cucumber/messages/go/v22"
"pgregory.net/rapid"

"github.com/regen-network/gocuke/internal/tag"
Expand Down
2 changes: 1 addition & 1 deletion run_step.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package gocuke
import (
"reflect"

messages "github.com/cucumber/messages/go/v21"
messages "github.com/cucumber/messages/go/v22"
)

func (r *scenarioRunner) runHook(def *stepDef) {
Expand Down
4 changes: 2 additions & 2 deletions runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"reflect"
"testing"

"github.com/cucumber/common/messages/go/v19"
tag "github.com/cucumber/tag-expressions/go/v5"
messages "github.com/cucumber/messages/go/v22"
tag "github.com/cucumber/tag-expressions/go/v6"
"pgregory.net/rapid"
)

Expand Down
2 changes: 1 addition & 1 deletion scenario.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package gocuke

import messages "github.com/cucumber/messages/go/v21"
import messages "github.com/cucumber/messages/go/v22"

// Scenario is a special step argument type which describes the running scenario
// and that can be used in a step definition or hook method.
Expand Down
2 changes: 1 addition & 1 deletion step.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package gocuke

import messages "github.com/cucumber/messages/go/v21"
import messages "github.com/cucumber/messages/go/v22"

// Step is a special step argument type which describes the running step
// and that can be used in a step definition or hook method.
Expand Down
2 changes: 1 addition & 1 deletion tags.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"flag"
"fmt"

tag "github.com/cucumber/tag-expressions/go/v5"
tag "github.com/cucumber/tag-expressions/go/v6"
)

var flagTags = flag.String("gocuke.tags", "",
Expand Down
2 changes: 1 addition & 1 deletion tags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"strings"
"testing"

tagexpressions "github.com/cucumber/tag-expressions/go/v5"
tagexpressions "github.com/cucumber/tag-expressions/go/v6"
"gotest.tools/v3/assert"

"github.com/regen-network/gocuke/internal/tag"
Expand Down

0 comments on commit 8921eae

Please sign in to comment.