fix(outliner): fix typo

pull/1656/head
defclass 2021-03-26 22:18:22 +08:00
parent 168352ed6f
commit 9a75cb6431
2 changed files with 2 additions and 2 deletions

View File

@ -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))

View File

@ -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))))