func VerifyForm(values url.Values) http.HandlerFunc {
	return func(w http.ResponseWriter, r *http.Request) {
		err := r.ParseForm()
		Expect(err).ShouldNot(HaveOccurred())
		for key, vals := range values {
			Expect(r.Form[key]).Should(Equal(vals), "Form mismatch for key: %s", key)
		}
	}
}
func VerifyForm(values url.Values) http.HandlerFunc {
	return func(w http.ResponseWriter, r *http.Request) {
		err := r.ParseForm()
		Expect(err).ShouldNot(HaveOccurred())
		for key, vals := range values {
			Expect(r.Form[key]).Should(Equal(vals), "Form mismatch for key: %s", key)
		}
	}
}
func VerifyForm ( values url . Values ) http . HandlerFunc { return func ( w http . ResponseWriter , r * http . Request ) { err := r . ParseForm ( ) Expect ( err ) . ShouldNot ( HaveOccurred ( ) ) for key , vals := range values { Expect ( r . Form [ key ] ) . Should ( Equal ( vals ) , " " , key ) } } }
//VerifyForm returns a handler that verifies a request contains the specified form values.
//
//The request must contain *all* of the specified values, but it is allowed to have additional
//form values beyond the passed in set.
VerifyForm returns a handler that verifies a request contains the specified form values . The request must contain * all * of the specified values but it is allowed to have additional form values beyond the passed in set .