Skip to content

Commit

Permalink
Fix example description typo
Browse files Browse the repository at this point in the history
[#155958139]

Signed-off-by: Andrew Crump <[email protected]>
  • Loading branch information
joshzarrabi authored and acrmp committed Apr 5, 2018
1 parent 800ed8f commit 669ed56
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion commands/export_installation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ var _ = Describe("ExportInstallation", func() {
})

Context("when the installation cannot be exported", func() {
It("returns and error", func() {
It("returns an error", func() {
command := commands.NewExportInstallation(installationService, logger)
installationService.ExportReturns(errors.New("some error"))

Expand Down
2 changes: 1 addition & 1 deletion commands/import_installation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ var _ = Describe("ImportInstallation", func() {
})

Context("when the installation cannot be imported", func() {
It("returns and error", func() {
It("returns an error", func() {
setupService = &fakes.SetupService{}
setupService.EnsureAvailabilityReturns(api.EnsureAvailabilityOutput{
Status: api.EnsureAvailabilityStatusUnstarted,
Expand Down
2 changes: 1 addition & 1 deletion commands/upload_product_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ var _ = Describe("UploadProduct", func() {
})

Context("when the product cannot be uploaded", func() {
It("returns and error", func() {
It("returns an error", func() {
command := commands.NewUploadProduct(multipart, metadataExtractor, productsService, logger)
productsService.UploadReturns(api.UploadProductOutput{}, errors.New("some product error"))

Expand Down
2 changes: 1 addition & 1 deletion commands/upload_stemcell_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ var _ = Describe("UploadStemcell", func() {
})

Context("when the stemcell cannot be uploaded", func() {
It("returns and error", func() {
It("returns an error", func() {
command := commands.NewUploadStemcell(multipart, stemcellService, diagnosticService, logger)
stemcellService.UploadReturns(api.StemcellUploadOutput{}, errors.New("some stemcell error"))

Expand Down

0 comments on commit 669ed56

Please sign in to comment.