Skip to content

Commit

Permalink
Remove negative assertions for revision commands' experimental status
Browse files Browse the repository at this point in the history
  • Loading branch information
chinigo committed Aug 5, 2024
1 parent 83f3aad commit a115b7a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 61 deletions.
55 changes: 0 additions & 55 deletions command/v7/revision_command_test.go

This file was deleted.

4 changes: 0 additions & 4 deletions command/v7/revisions_command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ var _ = Describe("revisions Command", func() {
executeErr = cmd.Execute(nil)
})

It("no longer displays the experimental warning", func() {
Expect(testUI.Err).NotTo(Say("This command is in EXPERIMENTAL stage and may change without notice"))
})

When("checking target fails", func() {
BeforeEach(func() {
fakeSharedActor.CheckTargetReturns(actionerror.NotLoggedInError{BinaryName: binaryName})
Expand Down
2 changes: 1 addition & 1 deletion integration/v7/isolated/revision_command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var _ = Describe("revision command", func() {
It("appears in cf help -a", func() {
session := helpers.CF("help", "-a")
Eventually(session).Should(Exit(0))
Expect(session).NotTo(HaveCommandInCategoryWithDescription("revision", "EXPERIMENTAL COMMANDS", "Show details for a specific app revision"))
Expect(session).To(HaveCommandInCategoryWithDescription("revision", "APPS", "Show details for a specific app revision"))
})

It("Displays revision command usage to output", func() {
Expand Down
2 changes: 1 addition & 1 deletion integration/v7/isolated/revisions_command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var _ = Describe("revisions command", func() {
It("appears in cf help -a", func() {
session := helpers.CF("help", "-a")
Eventually(session).Should(Exit(0))
Expect(session).NotTo(HaveCommandInCategoryWithDescription("revisions", "EXPERIMENTAL COMMANDS", "List revisions of an app"))
Expect(session).To(HaveCommandInCategoryWithDescription("revisions", "APPS", "List revisions of an app"))
})

It("Displays command usage to output", func() {
Expand Down

0 comments on commit a115b7a

Please sign in to comment.