We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd17c8a commit 45a852fCopy full SHA for 45a852f
e2e/cucumber_test.go
@@ -25,6 +25,7 @@ import (
25
"strings"
26
"testing"
27
28
+ "github.com/compose-spec/compose-go/loader"
29
"github.com/cucumber/godog"
30
"github.com/cucumber/godog/colors"
31
"github.com/mattn/go-shellwords"
@@ -58,7 +59,7 @@ func TestCucumber(t *testing.T) {
58
59
60
func setup(s *godog.ScenarioContext) {
61
t := s.TestingT()
- projectName := strings.Split(t.Name(), "/")[1]
62
+ projectName := loader.NormalizeProjectName(strings.Split(t.Name(), "/")[1])
63
cli := e2e.NewCLI(t, e2e.WithEnv(
64
fmt.Sprintf("COMPOSE_PROJECT_NAME=%s", projectName),
65
))
0 commit comments