From 5b06f6b7a0cd2f9a36c8df97ab3760553e9af17f Mon Sep 17 00:00:00 2001 From: Vaughn Dice Date: Mon, 28 Nov 2016 17:21:22 -0700 Subject: [PATCH] fix(tests/labels_test.go): adjust spacing requires workflow-cli#275 requires controller-sdk-go#107 --- tests/labels_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/labels_test.go b/tests/labels_test.go index a24230f0..4e8239aa 100644 --- a/tests/labels_test.go +++ b/tests/labels_test.go @@ -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)) }) @@ -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)) })