Skip to content

Commit 227c662

Browse files
committedMar 30, 2023
updqte Measure deprecation message. fixes #1176
1 parent 0de0e7c commit 227c662

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎integration/deprecations_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var _ = Describe("Deprecations", func() {
1717
contents := string(session.Out.Contents()) + string(session.Err.Contents())
1818

1919
Ω(contents).Should(ContainSubstring("You are passing a Done channel to a test node to test asynchronous behavior."))
20-
Ω(contents).Should(ContainSubstring("Measure is deprecated and will be removed in Ginkgo V2."))
20+
Ω(contents).Should(ContainSubstring("Measure is deprecated and has been removed from Ginkgo V2."))
2121
Ω(contents).Should(ContainSubstring("--stream is deprecated"))
2222
Ω(contents).Should(ContainSubstring("--randomizeAllSpecs is deprecated"))
2323
})

‎types/deprecation_support.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func (d deprecations) Async() Deprecation {
3838

3939
func (d deprecations) Measure() Deprecation {
4040
return Deprecation{
41-
Message: "Measure is deprecated and will be removed in Ginkgo V2. Please migrate to gomega/gmeasure.",
41+
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.",
4242
DocLink: "removed-measure",
4343
Version: "1.16.3",
4444
}

0 commit comments

Comments
 (0)
Please sign in to comment.