Conditions | 1 |
Total Lines | 20 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | from unittest import TestCase |
||
92 | def test_blockquote_empty_title(self): |
||
93 | doc = self.conversion( |
||
94 | """ |
||
95 | > [!note] My title |
||
96 | """, |
||
97 | ) |
||
98 | text = convert_text( |
||
99 | doc, |
||
100 | input_format="panflute", |
||
101 | output_format="markdown", |
||
102 | ) |
||
103 | self.assertEqual( |
||
104 | text, |
||
105 | """ |
||
106 | :::: note |
||
107 | ::: title |
||
108 | My title |
||
109 | ::: |
||
110 | :::: |
||
111 | """.strip() |
||
112 | ) |
||
210 |