Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Commit

Permalink
Updated eventuallyExpectMetric to be type insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
Kira Combs committed Mar 23, 2015
1 parent 6a007e5 commit 7b3048c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cfcomponent/instrumentation/testhelpers/testhelpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ func MetricValue(instrumentable instrumentation.Instrumentable, name string) int
func EventuallyExpectMetric(instrumentable instrumentation.Instrumentable, name string, value uint64) {
Eventually(func() interface{} {
return MetricValue(instrumentable, name)
}).Should(Equal(value))
}).Should(BeNumerically("==", value))
}

0 comments on commit 7b3048c

Please sign in to comment.