diff --git a/_examples/api/api_test.go b/_examples/api/api_test.go index d6af045..89cfbc6 100644 --- a/_examples/api/api_test.go +++ b/_examples/api/api_test.go @@ -8,7 +8,7 @@ import ( "reflect" "github.com/cucumber/godog" - "github.com/cucumber/messages-go/v9" + "github.com/cucumber/messages-go/v10" ) type apiFeature struct { diff --git a/_examples/db/api_test.go b/_examples/db/api_test.go index 98a03d0..7d51d72 100644 --- a/_examples/db/api_test.go +++ b/_examples/db/api_test.go @@ -11,7 +11,7 @@ import ( txdb "github.com/DATA-DOG/go-txdb" "github.com/cucumber/godog" - "github.com/cucumber/messages-go/v9" + "github.com/cucumber/messages-go/v10" ) func init() { diff --git a/_examples/godogs/godogs_test.go b/_examples/godogs/godogs_test.go index d9cd0eb..fac78c5 100644 --- a/_examples/godogs/godogs_test.go +++ b/_examples/godogs/godogs_test.go @@ -9,7 +9,7 @@ import ( "github.com/cucumber/godog" "github.com/cucumber/godog/colors" - messages "github.com/cucumber/messages-go/v9" + messages "github.com/cucumber/messages-go/v10" ) var opt = godog.Options{Output: colors.Colored(os.Stdout)} diff --git a/fmt.go b/fmt.go index d667ff3..556bdcf 100644 --- a/fmt.go +++ b/fmt.go @@ -16,7 +16,7 @@ import ( "github.com/cucumber/godog/colors" - "github.com/cucumber/messages-go/v9" + "github.com/cucumber/messages-go/v10" ) // some snippet formatting regexps diff --git a/fmt_cucumber.go b/fmt_cucumber.go index 3315fec..646852a 100644 --- a/fmt_cucumber.go +++ b/fmt_cucumber.go @@ -18,7 +18,7 @@ import ( "strings" "time" - "github.com/cucumber/messages-go/v9" + "github.com/cucumber/messages-go/v10" ) func init() { diff --git a/fmt_events.go b/fmt_events.go index 6f31086..6d7093f 100644 --- a/fmt_events.go +++ b/fmt_events.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/cucumber/messages-go/v9" + "github.com/cucumber/messages-go/v10" ) const nanoSec = 1000000 diff --git a/fmt_junit_test.go b/fmt_junit_test.go index ac50648..5f71044 100644 --- a/fmt_junit_test.go +++ b/fmt_junit_test.go @@ -8,8 +8,8 @@ import ( "strings" "testing" - "github.com/cucumber/gherkin-go/v9" - "github.com/cucumber/messages-go/v9" + "github.com/cucumber/gherkin-go/v11" + "github.com/cucumber/messages-go/v10" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/fmt_pretty.go b/fmt_pretty.go index 02ad3b9..dd8a1c0 100644 --- a/fmt_pretty.go +++ b/fmt_pretty.go @@ -7,7 +7,7 @@ import ( "strings" "unicode/utf8" - "github.com/cucumber/messages-go/v9" + "github.com/cucumber/messages-go/v10" "github.com/cucumber/godog/colors" ) diff --git a/fmt_progress.go b/fmt_progress.go index 6d422b2..6e73692 100644 --- a/fmt_progress.go +++ b/fmt_progress.go @@ -6,7 +6,7 @@ import ( "math" "strings" - "github.com/cucumber/messages-go/v9" + "github.com/cucumber/messages-go/v10" ) func init() { diff --git a/fmt_progress_test.go b/fmt_progress_test.go index de29d56..a9efde2 100644 --- a/fmt_progress_test.go +++ b/fmt_progress_test.go @@ -6,8 +6,8 @@ import ( "strings" "testing" - "github.com/cucumber/gherkin-go/v9" - "github.com/cucumber/messages-go/v9" + "github.com/cucumber/gherkin-go/v11" + "github.com/cucumber/messages-go/v10" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/go.mod b/go.mod index b2a6f37..7e9fee8 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/cucumber/godog go 1.13 require ( - github.com/cucumber/gherkin-go/v9 v9.2.0 - github.com/cucumber/messages-go/v9 v9.0.3 - github.com/stretchr/testify v1.4.0 + github.com/cucumber/gherkin-go/v11 v11.0.0 + github.com/cucumber/messages-go/v10 v10.0.3 + github.com/stretchr/testify v1.5.1 ) diff --git a/go.sum b/go.sum index b1692fa..9a93597 100644 --- a/go.sum +++ b/go.sum @@ -1,8 +1,10 @@ github.com/aslakhellesoy/gox v1.0.100/go.mod h1:AJl542QsKKG96COVsv0N74HHzVQgDIQPceVUh1aeU2M= -github.com/cucumber/gherkin-go/v9 v9.2.0 h1:vxpzP4JtfNSDGH4s0u4TIxv+RaX533MCD+XNakz5kLY= -github.com/cucumber/gherkin-go/v9 v9.2.0/go.mod h1:W/+Z5yOowYWXRMlC6lJvM9LFDAFfsicZ1sstjPKfWWQ= -github.com/cucumber/messages-go/v9 v9.0.3 h1:xXYjyj2aUOdkakEJAQIvP+1Bn2gOQNN+pY5pCRZQZzI= -github.com/cucumber/messages-go/v9 v9.0.3/go.mod h1:TICon2O2emBWMY1eeQvog6b+zK5c+puAFO6avjzC/JA= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/cucumber/gherkin-go/v11 v11.0.0 h1:cwVwN1Qn2VRSfHZNLEh5x00tPBmZcjATBWDpxsR5Xug= +github.com/cucumber/gherkin-go/v11 v11.0.0/go.mod h1:CX33k2XU2qog4e+TFjOValoq6mIUq0DmVccZs238R9w= +github.com/cucumber/messages-go/v10 v10.0.1/go.mod h1:kA5T38CBlBbYLU12TIrJ4fk4wSkVVOgyh7Enyy8WnSg= +github.com/cucumber/messages-go/v10 v10.0.3 h1:m/9SD/K/A15WP7i1aemIv7cwvUw+viS51Ui5HBw1cdE= +github.com/cucumber/messages-go/v10 v10.0.3/go.mod h1:9jMZ2Y8ZxjLY6TG2+x344nt5rXstVVDYSdS5ySfI1WY= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 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= @@ -18,16 +20,24 @@ github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfn github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= +github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= +github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= 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/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stretchr/testify v1.5.1 h1:nOGnQDM7FYENwehXlg/kFVnos3rEvtKTjRvOWSzb6H4= +github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= 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/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= +gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.7 h1:VUgggvou5XRW9mHwD/yXxIYSMtY0zoKQf/v226p2nyo= -gopkg.in/yaml.v2 v2.2.7/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/run_test.go b/run_test.go index ac25831..3db7648 100644 --- a/run_test.go +++ b/run_test.go @@ -10,8 +10,8 @@ import ( "strings" "testing" - "github.com/cucumber/gherkin-go/v9" - "github.com/cucumber/messages-go/v9" + "github.com/cucumber/gherkin-go/v11" + "github.com/cucumber/messages-go/v10" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/stepdef.go b/stepdef.go index a2f1dd6..2f075c6 100644 --- a/stepdef.go +++ b/stepdef.go @@ -10,7 +10,7 @@ import ( "strconv" "strings" - "github.com/cucumber/messages-go/v9" + "github.com/cucumber/messages-go/v10" ) var matchFuncDefRef = regexp.MustCompile(`\(([^\)]+)\)`) diff --git a/stepdef_test.go b/stepdef_test.go index 0f13bce..a4f71a9 100644 --- a/stepdef_test.go +++ b/stepdef_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "github.com/cucumber/messages-go/v9" + "github.com/cucumber/messages-go/v10" ) func TestShouldSupportIntTypes(t *testing.T) { diff --git a/suite.go b/suite.go index 571a687..f974c03 100644 --- a/suite.go +++ b/suite.go @@ -14,8 +14,8 @@ import ( "time" "unicode/utf8" - "github.com/cucumber/gherkin-go/v9" - "github.com/cucumber/messages-go/v9" + "github.com/cucumber/gherkin-go/v11" + "github.com/cucumber/messages-go/v10" ) var errorInterface = reflect.TypeOf((*error)(nil)).Elem() diff --git a/suite_context.go b/suite_context.go index 73ccb19..af02f9b 100644 --- a/suite_context.go +++ b/suite_context.go @@ -12,8 +12,8 @@ import ( "strconv" "strings" - "github.com/cucumber/gherkin-go/v9" - "github.com/cucumber/messages-go/v9" + "github.com/cucumber/gherkin-go/v11" + "github.com/cucumber/messages-go/v10" "github.com/cucumber/godog/colors" ) diff --git a/tag_filter_test.go b/tag_filter_test.go index 593e36e..c79bfdc 100644 --- a/tag_filter_test.go +++ b/tag_filter_test.go @@ -3,7 +3,7 @@ package godog import ( "testing" - "github.com/cucumber/messages-go/v9" + "github.com/cucumber/messages-go/v10" ) func assertNotMatchesTagFilter(tags []*messages.Pickle_PickleTag, filter string, t *testing.T) {