Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
lilactown committed Aug 4, 2024
1 parent 9567d8c commit e585b02
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/pyramid/pull_test.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,15 @@
(:foo)
(.-result)
(:bar)))))))


(deftest issue-36
(let [db '{:zones ([:zone/id "b3d91e54-75e0-424b-b4c6-363cbd0ff06a"]
[:zone/id "4fba72c3-97ec-4458-9e78-b75bd6b323d0"]
[:zone/id "5a3f1bf5-aee1-40f1-9ea3-313ea3123c90"])}
q [{:zones [:zone/id]}]]
(is (= '{:zones
(#:zone{:id "b3d91e54-75e0-424b-b4c6-363cbd0ff06a"}
#:zone{:id "4fba72c3-97ec-4458-9e78-b75bd6b323d0"}
#:zone{:id "5a3f1bf5-aee1-40f1-9ea3-313ea3123c90"})}
(:data (trampoline p/pull-report db q))))))

0 comments on commit e585b02

Please sign in to comment.