Этот коммит содержится в:
Jayson Smith 2020-02-06 09:08:21 -07:00
родитель 7da3fc1a67
коммит 1919e1c92a

Просмотреть файл

@ -4,6 +4,7 @@ package godog
import (
"bytes"
"fmt"
"os"
"os/exec"
"path/filepath"
@ -36,7 +37,7 @@ func TestGodogBuildWithModuleOutsideGopathAndHavingOnlyFeature(t *testing.T) {
t.Fatal(err)
}
if out, err := exec.Command("go", "mod", "edit", "-require", "github.com/cucumber/godog@v0.7.12").CombinedOutput(); err != nil {
if out, err := exec.Command("go", "mod", "edit", "-require", fmt.Sprintf("github.com/cucumber/godog@%s", Version)).CombinedOutput(); err != nil {
t.Log(string(out))
t.Fatal(err)
}