BC break was introduced in gherkin-go master, use gopkg.in for explicit version
Этот коммит содержится в:
родитель
38c79db503
коммит
b669223afd
12 изменённых файлов: 15 добавлений и 15 удалений
|
@ -4,7 +4,8 @@ go:
|
|||
- 1.2
|
||||
- 1.3
|
||||
- 1.4
|
||||
- release
|
||||
- 1.5
|
||||
- 1.6
|
||||
- tip
|
||||
|
||||
script:
|
||||
|
@ -13,7 +14,7 @@ script:
|
|||
- (go version | grep "go1.1") || go get github.com/golang/lint/golint
|
||||
|
||||
# pull all external dependencies
|
||||
- go get github.com/cucumber/gherkin-go
|
||||
- go get gopkg.in/cucumber/gherkin-go.v3
|
||||
- go get github.com/shiena/ansicolor
|
||||
|
||||
# run standard go tests
|
||||
|
|
2
Makefile
2
Makefile
|
@ -10,6 +10,6 @@ test:
|
|||
|
||||
deps:
|
||||
@echo "updating all dependencies"
|
||||
go get -u github.com/cucumber/gherkin-go
|
||||
go get -u gopkg.in/cucumber/gherkin-go.v3
|
||||
go get -u github.com/shiena/ansicolor
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ package main
|
|||
|
||||
import (
|
||||
"github.com/DATA-DOG/godog"
|
||||
"github.com/cucumber/gherkin-go"
|
||||
"gopkg.in/cucumber/gherkin-go.v3"
|
||||
)
|
||||
|
||||
type apiFeature struct {
|
||||
|
@ -99,7 +99,7 @@ import (
|
|||
"net/http/httptest"
|
||||
|
||||
"github.com/DATA-DOG/godog"
|
||||
"github.com/cucumber/gherkin-go"
|
||||
"gopkg.in/cucumber/gherkin-go.v3"
|
||||
)
|
||||
|
||||
type apiFeature struct {
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"net/http/httptest"
|
||||
|
||||
"github.com/DATA-DOG/godog"
|
||||
"github.com/cucumber/gherkin-go"
|
||||
"gopkg.in/cucumber/gherkin-go.v3"
|
||||
)
|
||||
|
||||
type apiFeature struct {
|
||||
|
|
|
@ -8,9 +8,8 @@ import (
|
|||
"net/http/httptest"
|
||||
"strings"
|
||||
|
||||
"github.com/DATA-DOG/go-txdb"
|
||||
"github.com/DATA-DOG/godog"
|
||||
"github.com/cucumber/gherkin-go"
|
||||
"gopkg.in/cucumber/gherkin-go.v3"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
2
fmt.go
2
fmt.go
|
@ -10,7 +10,7 @@ import (
|
|||
"time"
|
||||
"unicode"
|
||||
|
||||
"github.com/cucumber/gherkin-go"
|
||||
"gopkg.in/cucumber/gherkin-go.v3"
|
||||
)
|
||||
|
||||
// some snippet formatting regexps
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/cucumber/gherkin-go"
|
||||
"gopkg.in/cucumber/gherkin-go.v3"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/cucumber/gherkin-go"
|
||||
"gopkg.in/cucumber/gherkin-go.v3"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package godog
|
||||
|
||||
import "github.com/cucumber/gherkin-go"
|
||||
import "gopkg.in/cucumber/gherkin-go.v3"
|
||||
|
||||
type testFormatter struct {
|
||||
basefmt
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"runtime"
|
||||
"strconv"
|
||||
|
||||
"github.com/cucumber/gherkin-go"
|
||||
"gopkg.in/cucumber/gherkin-go.v3"
|
||||
)
|
||||
|
||||
// StepDef is a registered step definition
|
||||
|
|
2
suite.go
2
suite.go
|
@ -10,7 +10,7 @@ import (
|
|||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/cucumber/gherkin-go"
|
||||
"gopkg.in/cucumber/gherkin-go.v3"
|
||||
)
|
||||
|
||||
var errorInterface = reflect.TypeOf((*error)(nil)).Elem()
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/cucumber/gherkin-go"
|
||||
"gopkg.in/cucumber/gherkin-go.v3"
|
||||
)
|
||||
|
||||
func SuiteContext(s *Suite) {
|
||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче