diff options
| author | SavagePeanut <sourcehut@lazytapir.com> | 2024-07-29 13:40:13 -0500 |
|---|---|---|
| committer | SavagePeanut <sourcehut@lazytapir.com> | 2024-07-29 13:40:13 -0500 |
| commit | bc3419c54fc972381d23a43e7a2d88525b96e31e (patch) | |
| tree | d374bdc1a08483b4ce99f337790441474d7ef451 /tests | |
| parent | 5e8d9ccf2f28936fabf6d155b37347d91a4fd1c5 (diff) | |
fix code block test case
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_matrix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_matrix.py b/tests/test_matrix.py index 29838bd..01723a9 100644 --- a/tests/test_matrix.py +++ b/tests/test_matrix.py @@ -37,7 +37,7 @@ def test_basic(): assert(format_for_matrix(test) == formatted_body) ``` """ - formatted_body = '<br><pre><code class="language-python"> def test_basic():<br> test = "_underline_"<br> formatted_body = "<em>underline</em>"<br> assert(format_for_matrix(test) == formatted_body)</code></pre><br>' + formatted_body = '<br><pre><code class="language-python"> def test_basic():\n test = "_underline_"\n formatted_body = "<em>underline</em>"\n assert(format_for_matrix(test) == formatted_body)</code></pre><br>' assert(format_for_matrix(test) == formatted_body) test = "```\ncode block\n```" |
