Added a skip for the run tests of cucumber in go1.11.*

Этот коммит содержится в:
Fredrik Lönnblad 2020-02-08 11:59:18 -03:00
родитель 873daf7d5f
коммит 824c4310b7

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

@ -6,6 +6,7 @@ import (
"io"
"io/ioutil"
"os"
"runtime"
"strings"
"testing"
@ -299,6 +300,10 @@ func TestSucceedRun(t *testing.T) {
t.Run(
fmt.Sprintf("%s/concurrency/%d", tc.format, concurrency),
func(t *testing.T) {
if tc.format == "cucumber" && strings.HasPrefix(runtime.Version(), "go1.11") {
t.Skipf("skipping due to format %q and go version: %q", tc.format, runtime.Version())
}
testSucceedRun(t, tc.format, concurrency, string(expectedOutput))
},
)