From bc3419c54fc972381d23a43e7a2d88525b96e31e Mon Sep 17 00:00:00 2001 From: SavagePeanut Date: Mon, 29 Jul 2024 13:40:13 -0500 Subject: fix code block test case --- tests/test_matrix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = '
    def test_basic():
test = "_underline_"
formatted_body = "underline"
assert(format_for_matrix(test) == formatted_body)

' + formatted_body = '
    def test_basic():\n        test = "_underline_"\n        formatted_body = "underline"\n        assert(format_for_matrix(test) == formatted_body)

' assert(format_for_matrix(test) == formatted_body) test = "```\ncode block\n```" -- cgit v1.2.3