Skip to content

Commit

Permalink
Revert "Bump github.com/onsi/gomega from 1.13.0 to 1.14.0 (#80)"
Browse files Browse the repository at this point in the history
Because of onsi/gomega#457

This reverts commit f822e17.
  • Loading branch information
blgm committed Jul 15, 2021
1 parent f822e17 commit ed3da6a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion go.mod
Expand Up @@ -6,7 +6,7 @@ require (
github.com/google/uuid v1.1.1 // indirect
github.com/maxbrunsfeld/counterfeiter/v6 v6.4.1
github.com/onsi/ginkgo v1.16.4
github.com/onsi/gomega v1.14.0
github.com/onsi/gomega v1.13.0
github.com/pborman/uuid v1.2.0 // indirect
github.com/pivotal-cf/brokerapi/v8 v8.1.0
github.com/pkg/errors v0.9.1
Expand Down
3 changes: 1 addition & 2 deletions go.sum
Expand Up @@ -56,9 +56,8 @@ github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vv
github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY=
github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo=
github.com/onsi/gomega v1.11.0/go.mod h1:azGKhqFUon9Vuj0YmTfLSmx0FUwqXYSTl5re8lQLTUg=
github.com/onsi/gomega v1.13.0 h1:7lLHu94wT9Ij0o6EWWclhu0aOh32VxhkwEJvzuWPeak=
github.com/onsi/gomega v1.13.0/go.mod h1:lRk9szgn8TxENtWd0Tp4c3wjlRfMTMH27I+3Je41yGY=
github.com/onsi/gomega v1.14.0 h1:ep6kpPVwmr/nTbklSx2nrLNSIO62DoYAhnPNIMhK8gI=
github.com/onsi/gomega v1.14.0/go.mod h1:cIuvLEne0aoVhAgh/O6ac0Op8WWw9H6eYCriF+tEHG0=
github.com/pborman/uuid v0.0.0-20180906182336-adf5a7427709/go.mod h1:VyrYX9gd7irzKovcSS6BIIEwPRkP2Wm2m9ufcdFSJ34=
github.com/pborman/uuid v1.2.0 h1:J7Q5mO4ysT1dv8hyrUGHb9+ooztCXu1D8MY8DZYsu3g=
github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k=
Expand Down
9 changes: 4 additions & 5 deletions integration_tests/command_line_handler_test.go
Expand Up @@ -199,7 +199,7 @@ var _ = Describe("Command line handler", func() {

Expect(exitCode).To(Equal(1))
Expect(stderr.String()).To(MatchRegexp(
`Missing arguments for generate-manifest. Usage: testharness generate-manifest <service-deployment-JSON> <plan-JSON> <request-params-JSON> <previous-manifest-YAML> <previous-plan-JSON>`))
`Missing arguments for generate-manifest. Usage: testharness-\d* generate-manifest <service-deployment-JSON> <plan-JSON> <request-params-JSON> <previous-manifest-YAML> <previous-plan-JSON>`))
})

It("exits 1 and logs when a generic error occurs", func() {
Expand Down Expand Up @@ -328,7 +328,7 @@ var _ = Describe("Command line handler", func() {

Expect(exitCode).To(Equal(1))
Expect(stderr.String()).To(MatchRegexp(
`Missing arguments for create-binding. Usage: testharness create-binding <binding-ID> <bosh-VMs-JSON> <manifest-YAML> <request-params-JSON>`,
`Missing arguments for create-binding. Usage: testharness-\d* create-binding <binding-ID> <bosh-VMs-JSON> <manifest-YAML> <request-params-JSON>`,
))
})

Expand Down Expand Up @@ -424,9 +424,8 @@ var _ = Describe("Command line handler", func() {
exitCode = startPassingCommandAndGetExitCode([]string{"delete-binding", "arg1"})

Expect(exitCode).To(Equal(1))

Expect(stderr.String()).To(MatchRegexp(
`Missing arguments for delete-binding. Usage: testharness delete-binding <binding-ID> <bosh-VMs-JSON> <manifest-YAML> <request-params-JSON>`,
`Missing arguments for delete-binding. Usage: testharness-\d* delete-binding <binding-ID> <bosh-VMs-JSON> <manifest-YAML> <request-params-JSON>`,
))
})

Expand Down Expand Up @@ -514,7 +513,7 @@ var _ = Describe("Command line handler", func() {

Expect(exitCode).To(Equal(1))
Expect(stderr.String()).To(MatchRegexp(
`Missing arguments for dashboard-url. Usage: testharness dashboard-url <instance-ID> <plan-JSON> <manifest-YAML>`,
`Missing arguments for dashboard-url. Usage: testharness-\d* dashboard-url <instance-ID> <plan-JSON> <manifest-YAML>`,
))
})

Expand Down

0 comments on commit ed3da6a

Please sign in to comment.