From 4f5a6c7b476e2fdb379e10c6d51826334441ba95 Mon Sep 17 00:00:00 2001 From: burinc Date: Tue, 10 Nov 2026 22:44:09 +1100 Subject: [PATCH] fix: pin jolt-lang/time at 06dfc4e7, whose locale_data.clj escapes the quotes in its namespace docstring; the old pin's unescaped "Mar" ended the docstring early, so jolt v0.8.25 refused the ns form and every jolt run build failed. markdown_test calls the private split-before-h2-headings through its var, as JVM Clojure requires (bb allowed the direct call) --- bb.edn | 2 +- test/site/markdown_test.clj | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bb.edn b/bb.edn index a0bbdee..3f39213 100644 --- a/bb.edn +++ b/bb.edn @@ -39,7 +39,7 @@ ;; unchanged (bb already has real java.time; this just adds tick's ;; API on top of it). io.github.jolt-lang/time {:git/url "https://github.com/jolt-lang/time.git" - :git/sha "abeee49974c2c4efa2fa75c96d9a379822c6815f"}} + :git/sha "06dfc4e744f256ba2c3cdfc611c45845c3269908"}} :tasks {;; tick.core first, unconditionally -- see the io.github.jolt-lang/time ;; comment above :deps. Everything after it in this list, and every diff --git a/test/site/markdown_test.clj b/test/site/markdown_test.clj index 3901485..d7c9ec2 100644 --- a/test/site/markdown_test.clj +++ b/test/site/markdown_test.clj @@ -303,13 +303,13 @@ ;; this pins the JVM-side behavior this function must keep matching). (testing "preamble before the first heading becomes its own leading chunk" (is (= ["pre" "

A

mid" "

B

end"] - (md/split-before-h2-headings "pre

A

mid

B

end")))) + (#'md/split-before-h2-headings "pre

A

mid

B

end")))) (testing "no preamble when the body starts exactly at a heading" (is (= ["

A

mid" "

B

"] - (md/split-before-h2-headings "

A

mid

B

")))) + (#'md/split-before-h2-headings "

A

mid

B

")))) (testing "no headings at all returns the whole string as one chunk" (is (= ["just prose, no headings"] - (md/split-before-h2-headings "just prose, no headings"))))) + (#'md/split-before-h2-headings "just prose, no headings"))))) (deftest collapse-long-sections-leaves-short-pages-untouched ;; Below collapse-min-long-sections (5) the page reads as prose, and