From bf7933cf17a7d25c27f37e8f8a3b9b5fb210654a Mon Sep 17 00:00:00 2001 From: Michael Chinigo Date: Tue, 20 Aug 2024 11:38:03 -0400 Subject: [PATCH] Update assertion on `cf continue-deployment` help text --- .../v7/isolated/continue_deployment_test.go | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/integration/v7/isolated/continue_deployment_test.go b/integration/v7/isolated/continue_deployment_test.go index 4c1bf73370e..a490c7744c7 100644 --- a/integration/v7/isolated/continue_deployment_test.go +++ b/integration/v7/isolated/continue_deployment_test.go @@ -23,22 +23,21 @@ var _ = Describe("Continue Deployment", func() { It("displays the help information", func() { session := helpers.CF("continue-deployment", "--help") - Eventually(session).Should(Say(`NAME:`)) - Eventually(session).Should(Say(`continue-deployment - Continue the most recent deployment for an app.\n`)) - Eventually(session).Should(Say(`\n`)) - Eventually(session).Should(Say(`USAGE:`)) - Eventually(session).Should(Say(`cf continue-deployment APP_NAME\n`)) - Eventually(session).Should(Say(`\n`)) + Eventually(session).Should(Say(`NAME: + continue-deployment - Continue the most recent deployment for an app. - Eventually(session).Should(Say(`EXAMPLES:`)) - Eventually(session).Should(Say(`cf continue-deployment my-app\n`)) - Eventually(session).Should(Say(`\n`)) +USAGE: + cf continue-deployment APP_NAME [--no-wait] - Eventually(session).Should(Say(`SEE ALSO:`)) - Eventually(session).Should(Say(`app, push`)) +EXAMPLES: + cf continue-deployment my-app - Eventually(session).Should(Exit(0)) +OPTIONS: + --no-wait Exit when the first instance of the web process is healthy + +SEE ALSO: + app, push`)) }) })