Revert minimal Go version to 1.13

Этот коммит содержится в:
Viacheslav Poturaev 2021-07-07 20:22:32 +02:00
родитель c6e9cd0e19
коммит 8af91e50f6
2 изменённых файлов: 8 добавлений и 2 удалений

2
go.mod
Просмотреть файл

@ -1,6 +1,6 @@
module github.com/cucumber/godog module github.com/cucumber/godog
go 1.16 go 1.13
require ( require (
github.com/cucumber/gherkin-go/v19 v19.0.3 github.com/cucumber/gherkin-go/v19 v19.0.3

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

@ -350,7 +350,13 @@ func Test_FormatOutputRun(t *testing.T) {
noRandomFlag, []string{featurePath}, noRandomFlag, []string{featurePath},
) )
file := filepath.Join(t.TempDir(), "result.xml") dir := filepath.Join(os.TempDir(), t.Name())
err := os.MkdirAll(dir, 0755)
require.NoError(t, err)
defer os.RemoveAll(dir)
file := filepath.Join(dir, "result.xml")
actualStatus, actualOutput := testRun(t, actualStatus, actualOutput := testRun(t,
fmtOutputScenarioInitializer, fmtOutputScenarioInitializer,