Skip to content

Commit

Permalink
failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
lilactown committed Dec 13, 2021
1 parent 42c2a93 commit 972eceb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion test/pyramid/core_test.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,15 @@
(p/db [{:person/id 0
:some-data {1 "hello"
3 "world"}}]))
"Map with numbers as keys")
"Map with numbers as keys")
(t/is (= {:a/id {1 {:a/id 1
:b [{:c [:d/id 1]}]}}
:d/id {1 {:d/id 1
:d/text "a"}}}
(p/db [{:a/id 1
:b [{:c {:d/id 1
:d/txt "a"}}]}]))
"Collections of non-entities still get normalized")
(t/is (= {:person/id
{123
{:person/id 123,
Expand Down

0 comments on commit 972eceb

Please sign in to comment.