diff --git a/tests/test_renderer_js_behaviour.py b/tests/test_renderer_js_behaviour.py index 0c63cc6e0..501a4e880 100644 --- a/tests/test_renderer_js_behaviour.py +++ b/tests/test_renderer_js_behaviour.py @@ -242,6 +242,25 @@ class TestCommonLLMShapes: assert "
| field | " in out + assert "expr | " in out + # The code cell should contain both pipes + assert "") == 2, ( + f"Expected exactly 2 | cells, got {out.count(' | ')}: {out!r}"
+ )
+
def test_strikethrough_outside_quote(self, driver_path):
out = _render(driver_path, "This was ~~outdated~~ but is now fine.")
assert " |
|---|