mirror of
https://github.com/logseq/logseq.git
synced 2026-04-27 23:54:55 +00:00
fix: tags and refs on same page should have same uuid
Fixes identity issue in 1st section of https://github.com/logseq/db-test/issues/7#issuecomment-2463162620
This commit is contained in:
@@ -494,7 +494,11 @@
|
||||
(d/q '[:find [?ident ...]
|
||||
:where [?b :block/type "class"] [?b :db/ident ?ident] (not [?b :logseq.property/built-in?])])
|
||||
count))
|
||||
"Correct number of user classes")))
|
||||
"Correct number of user classes")
|
||||
|
||||
(is (= [{:block/type "class"}]
|
||||
(d/q '[:find [(pull ?b [:block/type]) ...] :where [?b :block/name "life"]] @conn))
|
||||
"When a class is used and referenced on the same page, there should only be one instance of it")))
|
||||
|
||||
(deftest-async export-files-with-tag-classes-option
|
||||
(p/let [file-graph-dir "test/resources/exporter-test-graph"
|
||||
|
||||
Reference in New Issue
Block a user