From 309070fda00efeafe0406d8535612d20aa53822a Mon Sep 17 00:00:00 2001 From: Mega Yu Date: Thu, 5 Mar 2026 21:05:49 +0800 Subject: [PATCH] fix typo --- .../test/logseq/graph_parser/exporter_test.cljs | 8 ++++---- .../resources/exporter-test-graph/journals/2026_03_01.md | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/deps/graph-parser/test/logseq/graph_parser/exporter_test.cljs b/deps/graph-parser/test/logseq/graph_parser/exporter_test.cljs index abd899abe3..4386038c02 100644 --- a/deps/graph-parser/test/logseq/graph_parser/exporter_test.cljs +++ b/deps/graph-parser/test/logseq/graph_parser/exporter_test.cljs @@ -973,7 +973,7 @@ (testing "standalone code block with language tag" (let [b (nth top-blocks 0)] - (is (= "it's a individual code snippet with language tag" (:block/title b)) + (is (= "it's an individual code snippet with language tag" (:block/title b)) "Standalone code block title has fences stripped") (is (= 0 (count (get-direct-children b))) "Standalone code block has no children") @@ -984,7 +984,7 @@ (testing "standalone code block without language tag" (let [b (nth top-blocks 1)] - (is (= "it's a individual code snippet without language tag" (:block/title b)) + (is (= "it's an individual code snippet without language tag" (:block/title b)) "Standalone code block title has fences stripped") (is (= 0 (count (get-direct-children b))) "Standalone code block has no children") @@ -1075,7 +1075,7 @@ (testing "standalone code block with language tag is still tagged as Code-block" (let [b (nth top-blocks 0)] - (is (= "it's a individual code snippet with language tag" (:block/title b)) + (is (= "it's an individual code snippet with language tag" (:block/title b)) "Standalone code block title has fences stripped") (is (= 0 (count (get-direct-children b))) "Standalone code block has no children") @@ -1086,7 +1086,7 @@ (testing "standalone code block without language tag is still tagged as Code-block" (let [b (nth top-blocks 1)] - (is (= "it's a individual code snippet without language tag" (:block/title b)) + (is (= "it's an individual code snippet without language tag" (:block/title b)) "Standalone code block title has fences stripped") (is (= 0 (count (get-direct-children b))) "Standalone code block has no children") diff --git a/deps/graph-parser/test/resources/exporter-test-graph/journals/2026_03_01.md b/deps/graph-parser/test/resources/exporter-test-graph/journals/2026_03_01.md index e2aa7a0f3c..242739f931 100644 --- a/deps/graph-parser/test/resources/exporter-test-graph/journals/2026_03_01.md +++ b/deps/graph-parser/test/resources/exporter-test-graph/journals/2026_03_01.md @@ -1,8 +1,8 @@ - ```markdown - it's a individual code snippet with language tag + it's an individual code snippet with language tag ``` - ``` - it's a individual code snippet without language tag + it's an individual code snippet without language tag ``` - before code snippet ```