| Conditions | 1 |
| Total Lines | 23 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | from unittest import TestCase |
||
| 114 | def test_blockquote_rest_title(self): |
||
| 115 | doc = self.conversion( |
||
| 116 | """ |
||
| 117 | > [!note] My title |
||
| 118 | > **rest** |
||
| 119 | """, |
||
| 120 | ) |
||
| 121 | text = convert_text( |
||
| 122 | doc, |
||
| 123 | input_format="panflute", |
||
| 124 | output_format="markdown", |
||
| 125 | ) |
||
| 126 | self.assertEqual( |
||
| 127 | text, |
||
| 128 | """ |
||
| 129 | :::: note |
||
| 130 | ::: title |
||
| 131 | My title |
||
| 132 | ::: |
||
| 133 | |||
| 134 | **rest** |
||
| 135 | :::: |
||
| 136 | """.strip() |
||
| 137 | ) |
||
| 210 |