Added a skip for the run tests of cucumber in go1.11.*
Этот коммит содержится в:
родитель
873daf7d5f
коммит
824c4310b7
1 изменённых файлов: 5 добавлений и 0 удалений
|
@ -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))
|
||||
},
|
||||
)
|
||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче