mirror of https://github.com/logseq/logseq
fix(outliner): fix typo
parent
168352ed6f
commit
9a75cb6431
|
@ -107,7 +107,7 @@
|
|||
|
||||
(defn- find-last-node
|
||||
[root-node-id indexed-by-position indexed-by-id]
|
||||
"Root node is not in these blocks which be indexed. Tt should be the page
|
||||
"Root node is not in these blocks which be indexed. It should be the page
|
||||
block's :db/id."
|
||||
(assert (some? root-node-id) "root-node-id should satisfy some?.")
|
||||
(assert (and (map? indexed-by-position) (seq indexed-by-position))
|
||||
|
|
|
@ -106,7 +106,7 @@
|
|||
:block/level 4,
|
||||
:block/refs-with-children ()})})}])
|
||||
|
||||
#_(deftest test-blocks->vec-tree
|
||||
(deftest test-blocks->vec-tree
|
||||
(let [should-r (vec blocks->vec-tree-return)]
|
||||
(let [r (block/blocks->vec-tree blocks->vec-tree-sequential-block-args)]
|
||||
(is (= should-r (vec r))))
|
||||
|
|
Loading…
Reference in New Issue