From 3f626a814c8e4bcfa2bfcdd0a6ad0d9f1947255f Mon Sep 17 00:00:00 2001 From: Tim Grelka Date: Sat, 5 Jul 2025 01:07:17 +0200 Subject: [PATCH] ci: test error output --- renderer/fifty_ohm_html_renderer.py | 2 +- test/test_dash.py | 2 +- test/test_table.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/renderer/fifty_ohm_html_renderer.py b/renderer/fifty_ohm_html_renderer.py index b53d4e8..f6b6d10 100644 --- a/renderer/fifty_ohm_html_renderer.py +++ b/renderer/fifty_ohm_html_renderer.py @@ -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'
{self.render_inner(child)}
\n' diff --git a/test/test_dash.py b/test/test_dash.py index 0a571e4..ea03894 100644 --- a/test/test_dash.py +++ b/test/test_dash.py @@ -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: diff --git a/test/test_table.py b/test/test_table.py index deaba13..08a37dd 100644 --- a/test/test_table.py +++ b/test/test_table.py @@ -11,7 +11,7 @@ def test_table_html(): "| l: a |": '\n\n\n\n
a
\n', "| r: a |": '\n\n\n\n
a
\n', "| c: a |": '\n\n\n\n
a
\n', - "| l: a |\n| b |": '\n\n\n\n\n\n\n
a
b
\n', # noqa: E501 + "| l: a |\n| b |": '\n\n\n\n\n\n\n
a
b
\n', "| l: a |\n| b |\n| c |": '\n\n\n\n\n\n\n\n\n\n
a
b
c
\n', # noqa: E501 "| a |\n| b |\n| c |": "\n\n\n\n\n\n\n\n\n\n
a
b
c
\n", # noqa: E501 "| l: a |\n| *b* |": '\n\n\n\n\n\n\n
a
b
\n', # noqa: E501