This repository was archived by the owner on Dec 23, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ var _ = Describe("Rye", func() {
121121 Expect (h ).To (BeAssignableToTypeOf (func (http.ResponseWriter , * http.Request ) {}))
122122 Expect (os .Getenv (RYE_TEST_HANDLER_ENV_VAR )).To (Equal ("1" ))
123123
124- Eventually (inc ).Should (Receive (& statsInc {"handlers.successHandler.2xx" , 1 , float32 (STATRATE )}))
124+ Eventually (inc ).Should (Receive (Equal ( statsInc {"handlers.successHandler.2xx" , 1 , float32 (STATRATE )}) ))
125125 Eventually (timing ).Should (Receive (HaveTiming ("handlers.successHandler.runtime" , float32 (STATRATE ))))
126126 })
127127 })
@@ -247,8 +247,8 @@ var _ = Describe("Rye", func() {
247247 Expect (h ).ToNot (BeNil ())
248248 Expect (h ).To (BeAssignableToTypeOf (func (http.ResponseWriter , * http.Request ) {}))
249249 Expect (response .Code ).To (Equal (505 ))
250- Eventually (inc ).Should (Receive (& statsInc {"handlers.failureHandler.505 " , 1 , float32 (STATRATE )}))
251- Eventually (inc ).Should (Receive (& statsInc {"errors " , 1 , float32 (STATRATE )}))
250+ Eventually (inc ).Should (Receive (Equal ( statsInc {"errors " , 1 , float32 (STATRATE )}) ))
251+ Eventually (inc ).Should (Receive (Equal ( statsInc {"handlers.failureHandler.505 " , 1 , float32 (STATRATE )}) ))
252252 Eventually (timing ).Should (Receive (HaveTiming ("handlers.failureHandler.runtime" , float32 (STATRATE ))))
253253 })
254254 })
You can’t perform that action at this time.
0 commit comments