Skip to content

Commit ab51a4c

Browse files
Ramkishor ChaladiRamkishor Chaladi
authored andcommitted
updated the code
1 parent ae9d800 commit ab51a4c

171 files changed

Lines changed: 229 additions & 175 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

plugin/commands/account/cancel-item_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var _ = Describe("Account cancel-item", func() {
3636
It("Set command without id", func() {
3737
err := testhelpers.RunCobraCommand(cliCommand.Command)
3838
Expect(err).To(HaveOccurred())
39-
Expect(err.Error()).To(ContainSubstring("Incorrect Usage : This command requires one argument"))
39+
Expect(err.Error()).To(ContainSubstring("Incorrect Usage: This command requires one argument"))
4040
})
4141
It("Set command with id like letters", func() {
4242
err := testhelpers.RunCobraCommand(cliCommand.Command, "abc")

plugin/commands/account/event-detail_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var _ = Describe("Account list EventDetail", func() {
3232
It("Set command without id", func() {
3333
err := testhelpers.RunCobraCommand(cliCommand.Command)
3434
Expect(err).To(HaveOccurred())
35-
Expect(err.Error()).To(ContainSubstring("Incorrect Usage : This command requires one argument"))
35+
Expect(err.Error()).To(ContainSubstring("Incorrect Usage: This command requires one argument"))
3636
})
3737
It("Set command with id like letters", func() {
3838
err := testhelpers.RunCobraCommand(cliCommand.Command, "abc")

plugin/commands/account/hook_delete_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var _ = Describe("account hook-delete", func() {
3838
It("return error", func() {
3939
err := testhelpers.RunCobraCommand(cliCommand.Command)
4040
Expect(err).To(HaveOccurred())
41-
Expect(err.Error()).To(ContainSubstring("Incorrect Usage : This command requires one argument"))
41+
Expect(err.Error()).To(ContainSubstring("Incorrect Usage: This command requires one argument"))
4242
})
4343

4444
It("return error", func() {

plugin/commands/account/invoice-detail_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var _ = Describe("Account list InvoiceDetail", func() {
3131
It("Set command without id", func() {
3232
err := testhelpers.RunCobraCommand(cliCommand.Command)
3333
Expect(err).To(HaveOccurred())
34-
Expect(err.Error()).To(ContainSubstring("Incorrect Usage : This command requires one argument"))
34+
Expect(err.Error()).To(ContainSubstring("Incorrect Usage: This command requires one argument"))
3535
})
3636
It("Set command with id like letters", func() {
3737
err := testhelpers.RunCobraCommand(cliCommand.Command, "abc")

plugin/commands/account/item-detail_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var _ = Describe("Account list ItemDetail", func() {
3131
It("Set command without id", func() {
3232
err := testhelpers.RunCobraCommand(cliCommand.Command)
3333
Expect(err).To(HaveOccurred())
34-
Expect(err.Error()).To(ContainSubstring("Incorrect Usage : This command requires one argument"))
34+
Expect(err.Error()).To(ContainSubstring("Incorrect Usage: This command requires one argument"))
3535
})
3636
It("Set command with id like letters", func() {
3737
err := testhelpers.RunCobraCommand(cliCommand.Command, "abc")

plugin/commands/bandwidth/pools_details_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var _ = Describe("bandwidth pools-details", func() {
4040
It("Set command without Id", func() {
4141
err := testhelpers.RunCobraCommand(cliCommand.Command)
4242
Expect(err).To(HaveOccurred())
43-
Expect(err.Error()).To(ContainSubstring("Incorrect Usage : This command requires one argument"))
43+
Expect(err.Error()).To(ContainSubstring("Incorrect Usage: This command requires one argument"))
4444
})
4545

4646
It("Set command with an invalid Id", func() {

plugin/commands/block/access_authorize_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ var _ = Describe("Access Authorize", func() {
4444
err := testhelpers.RunCobraCommand(cliCommand.Command)
4545

4646
Expect(err).To(HaveOccurred())
47-
Expect(strings.Contains(err.Error(), "Incorrect Usage : This command requires one argument")).To(BeTrue())
47+
Expect(strings.Contains(err.Error(), "Incorrect Usage: This command requires one argument")).To(BeTrue())
4848
})
4949
})
5050
Context("Access Authorize with wrong volume id", func() {

plugin/commands/block/access_list_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var _ = Describe("Access List Tests", func() {
4040
It("return error", func() {
4141
err := testhelpers.RunCobraCommand(cliCommand.Command)
4242
Expect(err).To(HaveOccurred())
43-
Expect(err.Error()).To(ContainSubstring("Incorrect Usage : This command requires one argument"))
43+
Expect(err.Error()).To(ContainSubstring("Incorrect Usage: This command requires one argument"))
4444
})
4545
})
4646
Context("Access Authorize with wrong volume id", func() {

plugin/commands/block/access_password_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var _ = Describe("Access Password", func() {
3939
It("return error", func() {
4040
err := testhelpers.RunCobraCommand(cliCommand.Command)
4141
Expect(err).To(HaveOccurred())
42-
Expect(err.Error()).To(ContainSubstring("Incorrect Usage : This command requires one argument."))
42+
Expect(err.Error()).To(ContainSubstring("Incorrect Usage: This command requires one argument."))
4343
})
4444
})
4545
Context("Access password without password", func() {

plugin/commands/block/access_revoke_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ var _ = Describe("Access Revoke", func() {
4343
It("return error", func() {
4444
err := testhelpers.RunCobraCommand(cliCommand.Command)
4545
Expect(err).To(HaveOccurred())
46-
Expect(strings.Contains(err.Error(), "Incorrect Usage : This command requires one argument")).To(BeTrue())
46+
Expect(strings.Contains(err.Error(), "Incorrect Usage: This command requires one argument")).To(BeTrue())
4747
})
4848
})
4949
Context("Access revoke with wrong volume id", func() {

0 commit comments

Comments
 (0)