fix: datoms count

pull/6529/head
Tienson Qin 2022-09-14 20:45:04 +08:00
parent 71514ab36c
commit 00e13c1fc5
2 changed files with 3 additions and 2 deletions

View File

@ -142,7 +142,7 @@
;; only increase over time as the docs graph rarely has deletions
(testing "Counts"
(is (= 211 (count files)) "Correct file count")
(is (= 41820 (count (d/datoms db :eavt))) "Correct datoms count")
(is (= 41778 (count (d/datoms db :eavt))) "Correct datoms count")
(is (= 3600
(ffirst

View File

@ -217,7 +217,8 @@
(map #(select-keys % [:block/properties :block/invalid-properties]))))
"Has correct (in)valid block properties")
(is (= [{:block/properties {:foo "valid"}}]
(is (= [{:block/properties {:foo "valid"}
:block/invalid-properties #{"[[foo]]" "some,prop"}}]
(->> (d/q '[:find (pull ?b [*])
:in $
:where [?b :block/properties] [?b :block/name]]