Browse Source

fix testings

llcc 3 years ago
parent
commit
cd6c355e8d

+ 1 - 1
deps/graph-parser/src/logseq/graph_parser/test/docs_graph_helper.cljs

@@ -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 (= 41554 (count (d/datoms db :eavt))) "Correct datoms count")
+    (is (= 41583 (count (d/datoms db :eavt))) "Correct datoms count")
 
     (is (= 3600
            (ffirst

+ 1 - 1
deps/graph-parser/test/logseq/graph_parser/block_test.cljs

@@ -28,7 +28,7 @@
     (are [x y] (= (vec (:page-refs
                         (gp-block/extract-properties :markdown x {:property-pages/enabled? true}))) y)
          [["year" "1000"]] ["year"]
-         [["year" "\"1000\""]] ["year"]
+         [["year" "\"1000\""]] ["1000" "year"]
          [["year" "1000"] ["month" "12"]] ["year" "month"]
          [["foo" "[[bar]] test"]] ["bar" "test" "foo"]
          [["foo" "[[bar]] test [[baz]]"]] ["bar" "test" "baz" "foo"]