        nil)
      (-> (request :get "/foo")
          (assoc :params {"y" "bar", "z" "baz"}))))
-  
+
   (testing "vector ':as request' arguments"
     (let [req (-> (request :get "/foo")
                   (assoc :params {:y "bar"}))]

      (are [url body] (= (:body (handler (request :get url)))
                         body)
        "/foo/10"    "root"
        "/foo/10/"   "root"   
        "/foo/10/id" "10"
        "/foo/1/x/2" "2"))))


                   (dissoc req :params)))
            nil)
       req)))

  (testing "map arguments"
    ((GET "/foo" {params :params}
       (is (= (params {:x "a", :y "b"})))
