ci: test error output
This commit is contained in:
@@ -155,7 +155,7 @@ class FiftyOhmHtmlRenderer(HtmlRenderer):
|
||||
|
||||
def render_qso(self, token):
|
||||
self.margin_id += 1
|
||||
qso = ""
|
||||
qso = ''
|
||||
for child in token.children:
|
||||
direction = "other" if child.received else "own"
|
||||
qso += f'<div class="qso_{direction}">{self.render_inner(child)}</div>\n'
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ from test.util import paragraph
|
||||
@pytest.mark.html
|
||||
def test_dash_html():
|
||||
assertions = {
|
||||
"Foo - Bar": "Foo – Bar",
|
||||
"Foo - Bar": "Foo – Ba",
|
||||
}
|
||||
|
||||
for assertion in assertions:
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ def test_table_html():
|
||||
"| l: a |": '<table>\n<tr>\n<th style="text-align: left;">a</th>\n</tr>\n</table>\n',
|
||||
"| r: a |": '<table>\n<tr>\n<th style="text-align: right;">a</th>\n</tr>\n</table>\n',
|
||||
"| c: a |": '<table>\n<tr>\n<th style="text-align: center;">a</th>\n</tr>\n</table>\n',
|
||||
"| l: a |\n| b |": '<table>\n<tr>\n<th style="text-align: left;">a</th>\n</tr>\n<tr>\n<td style="text-align: left;">b</td>\n</tr>\n</table>\n', # noqa: E501
|
||||
"| l: a |\n| b |": '<table>\n<tr>\n<th style="text-align: left;">a</th>\n</tr>\n<tr>\n<td style="text-align: left;">b</td>\n</tr>\n</table>\n',
|
||||
"| l: a |\n| b |\n| c |": '<table>\n<tr>\n<th style="text-align: left;">a</th>\n</tr>\n<tr>\n<td style="text-align: left;">b</td>\n</tr>\n<tr>\n<td style="text-align: left;">c</td>\n</tr>\n</table>\n', # noqa: E501
|
||||
"| a |\n| b |\n| c |": "<table>\n<tr>\n<th>a</th>\n</tr>\n<tr>\n<td>b</td>\n</tr>\n<tr>\n<td>c</td>\n</tr>\n</table>\n", # noqa: E501
|
||||
"| l: a |\n| *b* |": '<table>\n<tr>\n<th style="text-align: left;">a</th>\n</tr>\n<tr>\n<td style="text-align: left;"><em>b</em></td>\n</tr>\n</table>\n', # noqa: E501
|
||||
|
||||
Reference in New Issue
Block a user