Answer the final checks: the decision exemption's wording, info strings never close a fence, one formula length limit

This commit is contained in:
2026-10-02 21:59:57 +02:00
parent 3f0f329ef9
commit 6096f7d279
5 changed files with 9 additions and 8 deletions
+1
View File
@@ -310,6 +310,7 @@ class Sections(unittest.TestCase):
def test_closes_a_fence_only_on_its_own_marker(self):
text = "## Goals\n````md\n~~~\n## Quoted\n```\n````\n ~~~\n## Also quoted\n ~~~\n1. one\n## Audience\nme\n"
self.assertEqual(list(premises.sections(text)), ["Goals", "Audience"])
self.assertEqual(list(premises.sections("```\nquoted:\n```python\n## Inside\n```\n## Goals\n1. one\n")), ["Goals"])
class Render(unittest.TestCase):