Skip to content

Commit

Permalink
added cli test case
Browse files Browse the repository at this point in the history
  • Loading branch information
enrichman committed Mar 17, 2022
1 parent 38392d3 commit 805903c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion acceptance/apps_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ var _ = Describe("Apps", func() {
"--bind", configurationName,
"--instances", "2",
"--env", "CREDO=up",
"--env", "DOGMA=no")
"--env", "DOGMA=no",
"--env", "COMPLEX=-X foo=bar",
)
Expect(err).ToNot(HaveOccurred(), out)
Expect(out).To(MatchRegexp("Ok"))

Expand All @@ -84,6 +86,7 @@ var _ = Describe("Apps", func() {
Expect(out).To(MatchRegexp(`Configurations\s*\|\s*` + configurationName + `\s*\|`))
Expect(out).To(MatchRegexp(`- CREDO\s*\|\s*up\s*\|`))
Expect(out).To(MatchRegexp(`- DOGMA\s*\|\s*no\s*\|`))
Expect(out).To(MatchRegexp(`- COMPLEX\s*\|\s*-X foo=bar\s*\|`))
})

Context("manifest", func() {
Expand Down

0 comments on commit 805903c

Please sign in to comment.