Skip to content

Commit

Permalink
updqte Measure deprecation message. fixes #1176
Browse files Browse the repository at this point in the history
  • Loading branch information
onsi committed Mar 30, 2023
1 parent 0de0e7c commit 227c662
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integration/deprecations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var _ = Describe("Deprecations", func() {
contents := string(session.Out.Contents()) + string(session.Err.Contents())

Ω(contents).Should(ContainSubstring("You are passing a Done channel to a test node to test asynchronous behavior."))
Ω(contents).Should(ContainSubstring("Measure is deprecated and will be removed in Ginkgo V2."))
Ω(contents).Should(ContainSubstring("Measure is deprecated and has been removed from Ginkgo V2."))
Ω(contents).Should(ContainSubstring("--stream is deprecated"))
Ω(contents).Should(ContainSubstring("--randomizeAllSpecs is deprecated"))
})
Expand Down
2 changes: 1 addition & 1 deletion types/deprecation_support.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (d deprecations) Async() Deprecation {

func (d deprecations) Measure() Deprecation {
return Deprecation{
Message: "Measure is deprecated and will be removed in Ginkgo V2. Please migrate to gomega/gmeasure.",
Message: "Measure is deprecated and has been removed from Ginkgo V2. Any Measure tests in your spec will not run. Please migrate to gomega/gmeasure.",
DocLink: "removed-measure",
Version: "1.16.3",
}
Expand Down

0 comments on commit 227c662

Please sign in to comment.