tests: add an additional test case for smartify
- ID
37bd7f6- date
2026-05-13 23:17:51+00:00- author
Alex Chan <alex@alexwlchan.net>- parent
acdd733- message
tests: add an additional test case for smartify- changed files
1 file, 1 addition
Changed files
tests/test_text.py (1470) → tests/test_text.py (1535)
diff --git a/tests/test_text.py b/tests/test_text.py
index 187244b..1f561b0 100644
--- a/tests/test_text.py
+++ b/tests/test_text.py
@@ -47,6 +47,7 @@ def test_smartify(text: str, expected: str) -> None:
'<pre><code data-lang="python">print("hello world")</code></pre>',
"<br/>",
"</br>",
+ '<style>\n @use "components/list_of_posts";\n</style>',
],
)
def test_is_unchanged_by_smartify(text: str) -> None: