Skip to content

Commit

Permalink
Merge pull request #341 from vdice/adjust-spacing-labels-test
Browse files Browse the repository at this point in the history
fix(tests/labels_test.go): adjust spacing
  • Loading branch information
Vaughn Dice authored Nov 29, 2016
2 parents 26c3bfe + 5b06f6b commit 89ea201
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/labels_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ var _ = Describe("deis labels", func() {

sess, err = cmd.Start("deis labels:list --app=%s", &user, app.Name)
Eventually(sess).Should(Say("=== %s Label", app.Name))
Eventually(sess).Should(Say("service: frontend\nteam: bi"))
Eventually(sess).Should(Say(`service:\s+frontend`))
Eventually(sess).Should(Say(`team:\s+bi`))
Expect(err).NotTo(HaveOccurred())
Eventually(sess).Should(Exit(0))
})
Expand Down Expand Up @@ -110,7 +111,8 @@ var _ = Describe("deis labels", func() {

sess, err = cmd.Start("deis labels:list --app=%s", &user, app.Name)
Eventually(sess).Should(Say("=== %s Label", app.Name))
Eventually(sess).Should(Say("zoo: animal"))
Eventually(sess).Should(Say(`team:\s+frontend`))
Eventually(sess).Should(Say(`zoo:\s+animal`))
Expect(err).NotTo(HaveOccurred())
Eventually(sess).Should(Exit(0))
})
Expand Down

0 comments on commit 89ea201

Please sign in to comment.