From 824c4310b72b4b2348fc6ac77419bbc0c04aae28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20L=C3=B6nnblad?= Date: Sat, 8 Feb 2020 11:59:18 -0300 Subject: [PATCH] Added a skip for the run tests of cucumber in go1.11.* --- run_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/run_test.go b/run_test.go index e858a9c..6d79a31 100644 --- a/run_test.go +++ b/run_test.go @@ -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)) }, )