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 authored 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.