Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikitommi committed Jun 29, 2024
1 parent 77f0798 commit 129de37
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions test/cljc/reitit/ring_test.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -765,12 +765,11 @@

(deftest path-update-fix-686
(testing "records are retained"
(is (true? (-> ["/api/foo" {:get {:handler (constantly {:status 200})
:test (FooTest. 1 2)}}]
(ring/router)
(r/compiled-routes)
(first)
(second)
:get
:test
(record?))))))
(is (record? (-> ["/api/foo" {:get {:handler (constantly {:status 200})
:test (FooTest. 1 2)}}]
(ring/router)
(r/compiled-routes)
(first)
(second)
:get
:test)))))

0 comments on commit 129de37

Please sign in to comment.